Skip to main content
Version: 2.x

Binding.(constructor)

@microsoft/fast-element > Binding > (constructor)

Binding.(constructor)

Creates a binding.

Signature:

constructor(evaluate: Expression<TSource, TReturn, TParent>, policy?: DOMPolicy | undefined, isVolatile?: boolean);

Parameters

Parameter

Type

Description

evaluate

Expression<TSource, TReturn, TParent>

Evaluates the binding.

policy

DOMPolicy | undefined

(Optional) The security policy to associate with this binding.

isVolatile

boolean

(Optional) Indicates whether the binding is volatile.