Is it possible to bind unexisting property in observable object? Because after I mapped it I don’t see the result.
Is it possible to bind unexisting property in observable object? Because after I mapped
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.
I don’t know a clean way, but you can do it like this:
Now (for some reason, not quite sure why) you need to explicitly communicate that the value of the observable has changed and the view should be updated:
http://jsfiddle.net/wF7xY/1/