Docs (4.0.0)
class Binding method


Restricts bindings that can be bound to (attached parent objects of) the specified object, if the object itself does not include a corresponding property.


static limitTo(object: ManagedObject, filter?: (property: string | symbol) => boolean): void

This method is used automatically on the app object, since any attempt to bind to a property (e.g. from the view) should at least stop there. For further limitations, call this method with a filter to restrict bindings on any other object.


  • object — The object for which to restrict bindings
  • filter — A function that returns true if a property is allowed to pass, or false if an attempt to bind should result in an unhandled error; if not provided, no properties are allowed