Last updated 1 year ago
All WireBootstrap web components extend the wire.ui.WebComponent class.
wire.ui.WebComponent
Register the class using the giving it a name as the first parameter.
class MyComponent extends wire.ui.WebComponent { } customElements.define('my-component', MyComponent);
Use the element name to reference the web component on pages.
<my-component></my-component>