is "dashboard" supposed to be a class or id?
to select something deeply nested in the shadow DOM you can use the /deep/
combinator
document.querySelector('x-foo /deep/ #someThing');
example jsbin:http://jsbin.com/kunezo/4/edit
On Fri, Oct 10, 2014 at 8:29 AM, <[email protected]> wrote:
> right now i'm doing something like this:
>
> function getChartPages() {
> return
> document.querySelector("dashboard").shadowRoot.querySelector("#panelA").shadowRoot.querySelector("#panelA3").shadowRoot.querySelector("#panelA3south");
> }
>
> i wonder if there's an easy way to achieve the same thing...
>
> 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/06dbdd29-4aaf-4c18-9a0c-cc9632c4dafd%40googlegroups.com
> <https://groups.google.com/d/msgid/polymer-dev/06dbdd29-4aaf-4c18-9a0c-cc9632c4dafd%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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/polymer-dev/CAJj5OwD-H%2Bxc5SazEV-mJ5hoBrMH7PSh_oXzEvaRand7nonXLQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.