You are correct Martijn. The polling is from our dirty check loop when object.observe is not available. It's important to note that Object.observe is not enabled by default in Chrome, and is missing certain features in stable. We've only been using it in canary so far with the experimental JavaScript flag.
--
---
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.
Visit this group at http://groups.google.com/group/polymer-dev.
To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/CAGT4ZFj0%3Drg5nZwAdeeH8nHubphkNR7G8Dc%3DOf%2BDLYgEvTydrw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.
Also good to mention that getters/setters are not handled by Object.observe.
Also good to mention that getters/setters are not handled by Object.observe.
--
---
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.
Visit this group at http://groups.google.com/group/polymer-dev.
To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/CAAUAVAjxvugJMoOho%2BQpbWFKq%3DYyO1VN3hV0_JwKTjkJLQcxSQ%40mail.gmail.com.
On Mon, Jul 1, 2013 at 11:16 AM, Sönke Rohde <soenke...@gmail.com> wrote:That's the notify() mechanism that Erik was referencing. It is a
> Thanks for the details! I am using Canary but did not have the experimental
> JS features turned on.
> Turning it on now works and I can see that the getter is actually executed 4
> times.
>
> How would I manually control the data binding?
> I think, that's what I am actually looking for.
> Can I fire an event which let's the getter re-execute?
signal to observers of an object that a given property has changed
value.
Out of curiosity, what use case do you have in mind?