Definition
Single Element
import { define } from 'hybrids';
const MyElement = {
...
};
// Define one element with explicit tag name
define('my-element', MyElement);define(tagName: string | null, descriptorsOrConstructor: Object | Function): WrapperMap of Elements
Last updated
Was this helpful?