Oh ok. Yeah I saw that change in 0.2.3 release notes but somehow didn't 
realize that it will impact callback methods too. 

I somehow feel though that the reflection of values should be default on, 
while opt out should be an option too. I understand there's probably some 
performance impact, not sure how big, but having default off is slightly 
un-intuitive and inspecting DOM during debug process gets harder too. May 
be other option is to just have a global reflect property that could be 
set/unset for debugging purposes.

One of the cases where I ran into this was in a child element that wants to 
watch changes to all attributes of a parent element. What's the best way to 
achieve this in a way such that the child callback always happens no matter 
how the change watcher is defined on parent for the attributes? i was using 
attributeChanged callback method on the child, but I think that's not the 
best way because attributeChanged won't be called if a more specific 
observer is defined for an attribute by the parent. May be, in the child 
element, I should attach another Object observer to the instance to watch 
for specific changes.


On Monday, May 5, 2014 8:07:14 PM UTC-7, Eric Bidelman wrote:
>
> Demo: http://jsbin.com/kucuqete/2/edit
>
> Sorry about this. We need to get it documented!
> https://github.com/Polymer/docs/issues/402
>
>
> On Mon, May 5, 2014 at 8:02 PM, 'Scott Miles' via Polymer <
> [email protected] <javascript:>> wrote:
>
>> Published properties are no longer reflected back to attributes by 
>> default, see the notes here: 
>> https://github.com/Polymer/polymer/releases/tag/0.2.3.
>>  
>>
>> On Mon, May 5, 2014 at 7:38 PM, 'Rob Dodson' via Polymer <
>> [email protected] <javascript:>> wrote:
>>
>>> One of my students mentioned this today. Going to double check when I 
>>> get home
>>> On May 5, 2014 7:15 PM, <[email protected] <javascript:>> wrote:
>>>
>>>> Did anything change in the Polymer API for attributeChanged callback? 
>>>> With 0.2.3, attributeChanged is not getting called whenever a property 
>>>> changes on the element. Strongly typed observers are getting called 
>>>> though. 
>>>> Check out this sample: http://jsbin.com/kucuqete/1/edit
>>>>
>>>> Am I missing something obvious? This used to work till 0.2.2.
>>>>
>>>> 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 [email protected] <javascript:>.
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/polymer-dev/2a7f2b1a-9037-48fa-a11b-060bc653b2e8%40googlegroups.com<https://groups.google.com/d/msgid/polymer-dev/2a7f2b1a-9037-48fa-a11b-060bc653b2e8%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>  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 [email protected] <javascript:>.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/polymer-dev/CAJj5OwDTqqjjemPPXt--E3_w2zMJ8dMNgnznDON6DXDFe%2B-X8w%40mail.gmail.com<https://groups.google.com/d/msgid/polymer-dev/CAJj5OwDTqqjjemPPXt--E3_w2zMJ8dMNgnznDON6DXDFe%2B-X8w%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>  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 [email protected] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/polymer-dev/CAHbmOLYSR0h2ZHTOqoheyXs1K-ghn9J8faWHH%2BKgv5Z9wJaJTQ%40mail.gmail.com<https://groups.google.com/d/msgid/polymer-dev/CAHbmOLYSR0h2ZHTOqoheyXs1K-ghn9J8faWHH%2BKgv5Z9wJaJTQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/1c6e7dde-ae9e-49c6-99a2-ce17229e311c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to