I have this dom element with a {{name}} binding
<div b="{{name}}"></div>
I want to access this div and update it's b attribute via jquery like so:
$('div').attr('b', 10), and I expect the two way binding to update the property on the according component. But it doesn't work why?
Aucun commentaire:
Enregistrer un commentaire