Factory function to create a custom element class.
Component configuration including tagName, slots, attributes, and lifecycle hooks
Custom element class that extends BaseComponent
export default () => { Register.registerWebComponent({ name: tagName, element: createCustomElement({ tagName, slots, attributes, createComponent }) });}; Copy
export default () => { Register.registerWebComponent({ name: tagName, element: createCustomElement({ tagName, slots, attributes, createComponent }) });};
Factory function to create a custom element class.