pantoken / renderers/web-components/src / ElementDefinition
Interface: ElementDefinition
Alpha
One registered custom element: its base tag name plus a define that registers it via the context.
Properties
name
readonlyname:string
Alpha
The base tag name, e.g. button (minted to <instui-button>/<x-button> by the active prefix).
Methods
define()
define(
ctx):void
Alpha
Register the element into ctx.registry, using only the shared, prefix-aware helpers.
Parameters
ctx
Returns
void