@microsoft/fast-element > HTMLDirective > createBehavior
HTMLDirective.createBehavior() method
Creates a behavior for the provided target node.
Signature:abstract createBehavior(target: Node): Behavior;
Parameters
Parameter | Type | Description |
---|---|---|
target | Node | The node instance to create the behavior for. |