I later saw the request to post questions on Stackoverflow, so I posted 
there, with a plunker outlining the problem I'm having.

http://stackoverflow.com/questions/30852285/element-clientwidth-clientheight-in-polymer-1-0-leaflet-0-7-3

Cheers, and thanks,
Peter

On Friday, 12 June 2015 16:24:45 UTC-4, Peter Rushforth wrote:
>
> Hi there,
>
> I've seen some advice   (here 
> https://www.polymer-project.org/0.5/resources/faq.html#clientDimenstions) 
> about using :host {display: block} to get the clientWidth correctly set up, 
> but it's not working for me.  The weird thing is that when I put a break 
> point in the code, clientWidth is set correctly at that point.  But when I 
> remove the breakpoint, and console.log it, it is 0, causing failure down 
> the line.  I've tried a few things, but can't get it to work.  Any advice 
> appreciated.
>
> I'm using 1.0.
>
> Cheers,
> Peter
>

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/384a3861-f07e-42ab-b289-f115901c346d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to