javascript - Access DOM of an imported html document in Polymer -


i'm trying reference imported html document's dom inside polymer element resides in said imported document. i've used polymer's utility function importhref() import document. app path/tree looks this:

index_page => imported_document => polymer_element

to access element inside index page can this:

var el = document.queryselector("#someelement"); 

to access element inside polymer element, can this:

var el  = polymer.dom(this).queryselector("#someelement"); 

but, i'm not sure how i'm supposed query dom of imported_document polymer element inside of imported_document. using document returns null, , polymer.dom inside of polymer elements (i believe).


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -