Hi Kevin,

Did you ever get an answer here? I think the answer is that you'd use it in
your event handling code to get the correct path, localTarget and
rootTarget.

So if your page handles an event fired by element A inside a element B's
local DOM, Polymer.dom(event).localTarget would return element B, while
Polymer.dom(event).rootTarget would return element A.



On Fri, Apr 17, 2015 at 9:50 AM, Kevin Ashcraft <[email protected]>
wrote:

> I'm trying to add an on-tap listener to a custom element, but do not know
> how to use Polymer.dom(event) to retarget the click/tap.
>
> 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/a2765585-86c4-4f77-9d71-9c4101b72144%40googlegroups.com
> <https://groups.google.com/d/msgid/polymer-dev/a2765585-86c4-4f77-9d71-9c4101b72144%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/CADSbU_z3pCL37kJmZsCJJwAPcETdEnhhw21UJZ6ihLg%3DSRfyXA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to