@microsoft/fast-element > ExpressionController
ExpressionController interface
Controls the lifecycle of an expression and provides relevant context.
Signature:
export interface ExpressionController<TSource = any, TParent = any>
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
|
ExecutionContext<TParent> |
The context the expression is evaluated against. | |
|
|
boolean |
Indicates whether the controller is bound. | |
|
|
TSource |
The source the expression is evaluated against. | |
|
|
(Optional) Indicates how the source's lifetime relates to the controller's lifetime. |
Methods
|
Method |
Description |
|---|---|
|
Registers an unbind handler with the controller. |