@microsoft/fast-element > TargetedHTMLDirective
TargetedHTMLDirective class
A HTMLDirective that targets a named attribute or property on a node.
Signature:export declare abstract class TargetedHTMLDirective extends HTMLDirective
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
createPlaceholder | (index: number) => string | Creates a placeholder string based on the directive's index within the template. | |
targetName | string | undefined | Gets/sets the name of the attribute or property that this directive is targeting on the associated node. |