@microsoft/fast-element > ViewBehaviorFactory
ViewBehaviorFactory interface
A factory that can create a ViewBehavior associated with a particular location within a DOM fragment.
Signature:
export interface ViewBehaviorFactory
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
string |
(Optional) The unique id of the factory. | ||
|
(Optional) The policy that the created behavior must run under. | |||
|
string |
(Optional) The structural id of the DOM node to which the created behavior will apply. | ||
|
string | null |
(Optional) The tag name of the DOM node to which the created behavior will apply. |
Methods
|
Method |
Description |
|---|---|
|
Creates a behavior. |