BasicWebComponentDefinitionOptions
Defined in: web-components-integration/src/WebComponent.ts:14
Basic custom element’s definition options that should be passed to WebComponent.define
Properties
Section titled “Properties”noRedefinitionError?
Section titled “noRedefinitionError?”
optionalnoRedefinitionError:boolean
Defined in: web-components-integration/src/WebComponent.ts:33
Whether to ignore an error that is thrown when an element is defined second time under a different tag.
This option is intended for when a web component uses another web component which may not be defined before its construction.
Default
Section titled “Default”falseregistry?
Section titled “registry?”
optionalregistry:CustomElementRegistry
Defined in: web-components-integration/src/WebComponent.ts:23
Where to define given element
Default
Section titled “Default”customElementstag:
string
Defined in: web-components-integration/src/WebComponent.ts:16
Custom element tag name