DOM properties cannot be observed. It was/is a bug that we report these
changes when O.o is not present.


On Tue, Jul 22, 2014 at 12:10 PM, Chris Carver <[email protected]>
wrote:

> Hi,
>
> I've been using the observe functionality to listen to changes in div
> sizes when using the core-splitter.  I.e:
>
> <div id="leftDiv">
>        TEST LEFT
> </div>
> <core-splitter direction="left"></core-splitter>
> <div flex id="rightDiv">
>        TEST RIGHT
> </div>
>
> observe: {
>                 '$.myDiv.style.width': 'divWidthChanged',
> ...
>
> myDiv is the target of a core-splitter so it's style width is being
> updated when the splitter is tracked.  In chrome 35, divWidthChanged is
> called repeatedly as the splitter tracks and updates the div's style width.
>  This does not work in build 36 where the handler is called once when the
> element is initialised and then no-longer.  If I change this style width
> from code within my polymer element then divWidthChanged does get called
> but when the splitter changes the style width divWidthChanged does not get
> fired.
>
> There's a difference in behaviour in the latest build 36 but is this a bug?
>
> 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/9300685e-edb9-47f1-a58c-c49ad01b5707%40googlegroups.com
> <https://groups.google.com/d/msgid/polymer-dev/9300685e-edb9-47f1-a58c-c49ad01b5707%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
erik

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/CAJ8%2BGojvn-5zxhNGNrLBKaE4dSHZU_qsSa3fp7QD9vfa9kETEQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to