new Binding
Creates a new binding for given property and default value; use bound() functions instead.
constructor(source?: string | Binding, defaultValue?: T)
Note
Use the bound function to create Binding objects rather than calling this constructor.
Parameters
- source — The source path that’s used for obtaining the bound value
- defaultValue — An optional default value that’s used when the bound value is undefined
Related
- class BindingA class that represents a property binding.