@surface/custom-element
Version:
Provides support of directives and data binding on custom elements.
14 lines (10 loc) • 370 B
TypeScript
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;