I read the documentation as well as the source but am still confused by both.
Any ideas?
I read the documentation as well as the source but am still confused by
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Ember.Binding(to, from).oneWay().connect(obj)is how you’d directly create one however there is an aliasEmber.oneWay(obj, to, from)which does the same thing .. an example usage:You can capture that Ember.oneway() into a variable to use for manual disconnecting the binding later but usually I just use Ember’s behind the scenes sorcery to create the binding binding creation by ending the value in ‘Binding’, so we end up with: