UNPKG

@microblink/blinkinput-in-browser-sdk

Version:

A simple barcode scanning library for WebAssembly-enabled browsers.

24 lines (23 loc) 655 B
/** * Copyright (c) Microblink Ltd. All rights reserved. */ import { Component, Element, Host, h } from '@stencil/core'; import { setWebComponentParts } from '../../../utils/generic.helpers'; export class MbContainer { connectedCallback() { setWebComponentParts(this.hostEl); } render() { return (h(Host, null, h("slot", null))); } static get is() { return "mb-container"; } static get encapsulation() { return "shadow"; } static get originalStyleUrls() { return { "$": ["mb-container.scss"] }; } static get styleUrls() { return { "$": ["mb-container.css"] }; } static get elementRef() { return "hostEl"; } }