UNPKG

@microblink/blinkid-imagecapture-in-browser-sdk

Version:

A smart image capturing library for WebAssembly-enabled browsers.

24 lines (23 loc) 654 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 { componentDidLoad() { 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"; } }