new Binding()
Creates a new binding for given property and default value.
constructor(
source?: string | symbol | Binding | Binding.Options,
defaultValue?: T,
);
Parameters
- source — The source path that’s used for obtaining the bound value, another Binding to clone from, or an object with advanced options
- defaultValue — An optional default value that’s used when the bound value is undefined
Related
class Binding
A class that represents a property binding.
