@microsoft/fast-element > HTMLBindingDirective
HTMLBindingDirective class
A directive that applies bindings.
Signature:
export declare class HTMLBindingDirective implements HTMLDirective, ViewBehaviorFactory, ViewBehavior, Aspected, BindingDirective
Implements: HTMLDirective, ViewBehaviorFactory, ViewBehavior, Aspected, BindingDirective
Constructors
|
Constructor |
Modifiers |
Description |
|---|---|---|
|
Creates an instance of HTMLBindingDirective. |
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
The type of aspect to target. | |||
|
string |
The unique id of the factory. | ||
|
The policy that the created behavior must run under. | |||
|
string |
The original source aspect exactly as represented in markup. | ||
|
string |
The evaluated target aspect, determined after processing the source. | ||
|
string |
The structural id of the DOM node to which the created behavior will apply. | ||
|
string | null |
The tagname associated with the target node. |
Methods
|
Method |
Modifiers |
Description |
|---|---|---|
|
Creates a behavior. | ||
|
Creates HTML to be used within a template. |