Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TemplateDecoratorOptions<T>

The options of the decorator: TemplateBuilder.template().

Type parameters

  • T: HTMLElement

Hierarchy

  • TemplateDecoratorOptions

Index

Properties

Optional content

content: string | ContentFactory

The initial content.

Optional isShadow

isShadow: boolean

By default, the template is appended as child of the CustomElement, With this options, an opened shadow DOM will be attached and the template append to it.

Optional isShadowWithFocusDelegation

isShadowWithFocusDelegation: boolean

With this option the focus will be delegated to the shadow DOM.

Generated using TypeDoc