UNPKG

@surface/custom-element

Version:

Provides support of directives and data binding on custom elements.

14 lines (10 loc) 370 B
type CustomElementDefinitionOptions = { /** Element scoped custom directives */ directives?: Record<string, DirectiveEntry>, /** Styles adopted by the shadow root. */ style?: string | string[], /** Template used by the shadow root */ template?: string, } & ElementDefinitionOptions; export default CustomElementDefinitionOptions;