WebComponentDefinitionOptions
Defined in: web-components-integration/src/WebComponent.ts:40
Definition options that should be used by concrete web components. Components must provide default values if necessary.
Extends
Section titled “Extends”Partial<BasicWebComponentDefinitionOptions>
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”falseInherited from
Section titled “Inherited from”BasicWebComponentDefinitionOptions.noRedefinitionError
registry?
Section titled “registry?”
optionalregistry:CustomElementRegistry
Defined in: web-components-integration/src/WebComponent.ts:23
Where to define given element
Default
Section titled “Default”customElementsInherited from
Section titled “Inherited from”BasicWebComponentDefinitionOptions.registry
optionaltag:string
Defined in: web-components-integration/src/WebComponent.ts:16
Custom element tag name