Skip to content

BasicWebComponentDefinitionOptions

Defined in: web-components-integration/src/WebComponent.ts:14

Basic custom element’s definition options that should be passed to WebComponent.define

optional noRedefinitionError: 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.

false

optional registry: CustomElementRegistry

Defined in: web-components-integration/src/WebComponent.ts:23

Where to define given element

customElements

tag: string

Defined in: web-components-integration/src/WebComponent.ts:16

Custom element tag name