string
Creates a new property binding, for a string value.
static
string<S>(source: Binding.ValidPathString<S>, defaultValue?: string): Binding<string>
Parameters
- source — The source property name or path
- defaultValue — An optional default value, that’s used instead of the bound value when undefined
Return value
A new Binding instance.
Related
- function bound(source, defaultValue?)Creates a new property binding.
- asString(format?)Adds a filter, to convert the bound value to a string.