@microsoft/fast-element > oneWay
oneWay() function
Creates an standard binding.
Signature:
export declare function oneWay<T = any>(expression: Expression<T>, policy?: DOMPolicy, isVolatile?: boolean): Binding<T>;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
expression |
Expression<T> |
The binding to refresh when changed. |
|
policy |
(Optional) The security policy to associate with th binding. | |
|
isVolatile |
boolean |
(Optional) Indicates whether the binding is volatile or not. |
Returns:
Binding<T>
A binding configuration.