@microsoft/fast-element > CSSDirective > createBehavior
CSSDirective.createBehavior() method
Creates a behavior to bind to the host element.
Signature:createBehavior(): Behavior | undefined;
Behavior | undefined
- the behavior to bind to the host element, or undefined.