Observe objects with two way data binding with Agularjs

150 views
Skip to first unread message

vli...@gmail.com

unread,
Jun 22, 2014, 4:36:21 PM6/22/14
to polym...@googlegroups.com
I have encountered an issue with passing an object to polymer's custom element (via attribute). It seems there is no data binding in any direction, the object is being passed and it's data is available but there is no data binding. I was using angu-poly and angular-bind-polymer for binding from custom element back to angular model, it didn't work. I have posted an issue on angu-poly github projects and the creator suggested that "MutationObserver can not observe object/array changes".

Here is some sample to work with (it is not working as expected because of the issue mentioned above):

So is this an issue with polymer?  

John Messerly

unread,
Jun 22, 2014, 7:00:09 PM6/22/14
to vli...@gmail.com, Justin Fagnani, polymer-dev
+Justin who might have an opinion.

Regarding:
"MutationObserver can not observe object/array changes".

you can use https://github.com/Polymer/observe-js to observe changes to objects. FYI.



Follow Polymer on Google+: plus.google.com/107187849809354688692
---
You received this message because you are subscribed to the Google Groups "Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to polymer-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/1c7771b1-9c23-4f6d-adde-657fdd97a6a2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages