bind (obj, to, from) Ember.Binding
public
Global helper method to create a new binding. Just pass the root object along with a to
and from
path to create and connect the binding.
Parameters:
-
obj
Object
- The root object of the transform.
-
to
String
- The path to the 'to' side of the binding. Must be relative to obj.
-
from
String
- The path to the 'from' side of the binding. Must be relative to obj or a global path.
Returns:
-
Ember.Binding
- binding instance
Please login to continue.