You're on the right track. We typically recommend using $ (which we
call Automatic
Node 
Finding<http://www.polymer-project.org/docs/polymer/polymer.html#automatic-node-finding>)
wherever you can since it saves on having to write out querySelector every
time.


On Wed, May 21, 2014 at 7:47 AM, <[email protected]> wrote:

> I have been playing around with Polymer for a couple of days now, I am
> trying to workout what is the preferred way to do element selections from
> within a custom element.
>
> I have noticed that if child elements within the template contain a id
> then it will appear as a object within $ (this.$.el)
>
> Cheers
>
> Daniel.
>
> 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/eef08608-88f3-42c1-becf-2a6e9b76f369%40googlegroups.com<https://groups.google.com/d/msgid/polymer-dev/eef08608-88f3-42c1-becf-2a6e9b76f369%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/CAJj5OwDXvnuArQCH2Cct0P3WQV3hFHjK%3DYkHF5TCaQotTsa1jg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to