bindAny()
Creates a new binding to observe the specified properties, combining them using OR semantics.
bindAny<K extends Binding.BoundPath<NonNullable<T>>>(
...sourcePaths: (K | undefined)[]
): Binding<
{
[P in K]: Binding.BoundPathValue<T, P>;
}[K]
>;
Notes
- This method creates bindings that observe the current bound value’s properties or nested properties.
Parameters
- sourcePaths — The source property paths, as strings (undefined filtered out)
Return value
A new binding
Related
class Binding
A class that represents a property binding.
