The problem is, these event's are not picked up from the VisualEvent:
Here is a way to find elements inside a shadowRoot element.
var all = document.querySelectorAll("*");
var length = all.length
for(i= 0; i < length; i++){
if(all[i],shadowRoot) all.concat(all[i].shadowRoot.querySelectorAll("*"));
}
Of course this is a quick and dirty way of archiving this, but may need a bit more thought and work on to it.
Consider the following.
The problem is, these event's are not picked up from the VisualEvent:
Here is a way to find elements inside a shadowRoot element.
Of course this is a quick and dirty way of archiving this, but may need a bit more thought and work on to it.
Let me know your thoughts.