Ember.bind()

bind (obj, to, from) Ember.Bindingpublic

Defined in packages/ember-metal/lib/binding.js:486

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
doc_EmberJs
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.