View interface
@microsoft/fast-element > View
View interface
Represents a collection of DOM nodes which can be bound to a data source.
Signature:
export interface View<TSource = any, TParent = any> extends Disposable
Extends: Disposable
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
| ExecutionContext<TParent> | The execution context the view is running within. | |
| boolean | Indicates whether the controller is bound. | |
| TSource | null | The data that the view is bound to. |
Methods
Method | Description |
---|---|
Binds a view's behaviors to its binding source. | |
Unbinds a view's behaviors from its binding source and context. |