@microsoft/fast-element > NodeBehaviorFactory
NodeBehaviorFactory interface
A factory that can create a Behavior associated with a particular location within a DOM fragment.
Signature:export interface NodeBehaviorFactory
Properties
Property | Type | Description |
---|---|---|
targetIndex | number | The index of the DOM node to which the created behavior will apply. |
Methods
Method | Description |
---|---|
createBehavior(target) | Creates a behavior for the provided target node. |