Widget custom element constructor
Optional
properties: NonFunctionProperties<T>Protected
fallbackGet fallback (slot element by default)
class CustomWidget extends WidgetElement {
get fallback() {
return `<span class="${styles.loader}">Loading...</span>`
}
}
Protected
attributeProtected
destroyProtected
initializeStatic
registerGenerated using TypeDoc
Custom Element that helps you to create widgets.
Define a widget
Use a widget as element
Or
Or use a widget as constructor