Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need a way to get the activeElement inside a Polymer element #253

Closed
ojanvafai opened this issue Aug 23, 2013 · 4 comments
Closed

Need a way to get the activeElement inside a Polymer element #253

ojanvafai opened this issue Aug 23, 2013 · 4 comments

Comments

@ojanvafai
Copy link

ShadowRoots have their own activeElement, but I don't see how to get to the ShadowRoot from within a Polymer element.

@sjmiles
Copy link
Contributor

sjmiles commented Aug 23, 2013

this.shadowRoot and so this.shadowRoot.activeElement

@ojanvafai
Copy link
Author

@sjmiles
Copy link
Contributor

sjmiles commented Aug 23, 2013

+ebidel

@ebidel
Copy link
Contributor

ebidel commented Sep 3, 2013

We've tried to keep the platform pages lean, in favor of articles elsewhere on the net. But maybe we should round them out with useful/practical information like this?

Anyways, added to the FAQ for now: http://www.polymer-project.org/faq.html#activeelement

@ebidel ebidel closed this as completed Sep 3, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants