Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface PropertyDelegateDecoratorOptions

The options of the decorator: PropertyDelegateBuilder.delegate().

Hierarchy

  • PropertyDelegateDecoratorOptions

Index

Properties

Optional isBoolean

isBoolean: boolean

Only used when delegating to an attribute. When the value is truthy, the attribute's value is "" otherwise the attribute is removed.

Optional isShadow

isShadow: boolean

By default, the selection of the element is done in the light DOM. This option force the selection into the shadow DOM.

Optional toAttrName

toAttrName: string

By default the builder delegates to the same property name. This option forces the delegation to an attribute.

Optional toPropName

toPropName: string

By default the builder delegates to the same property name. This option overrides the default property name.

Generated using TypeDoc