I am trying to understand the concept of two way binding in Angular 2. So I 
came up with the following:

<span ([text-content])="content.line" contenteditable="true"></span>

It does fill in the textContent attribute, so I can see the default value. 
But when I change the content, there's no update on the object, 
content.line still has the same value. 

Any ideas on that?


-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to