You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@luoye-fe Thanks for this wonderful module, I am trying to get element details of inspected id's inside an iframe, as of version 1.2.3 inspector is working fine inside the iframe, how do I identify the element details as I hover over them in the iframe.
this is what I have
document.getElementById("iframe").onload = () => {
const inspector = new DomInspector({
// get iframe element by `contentWindow`
root: document.getElementById("iframe").contentWindow.document.querySelector('body'),
//exclude: ['#exclude>iframe', document.querySelector('.exclude')],
maxZIndex: 99
});
inspector.enable();
}
The text was updated successfully, but these errors were encountered:
Bind mouseover or click event on element, then when the event is triggered, get element details from inspector.target. Or direct use event.currentTarget & event.target gain the element.
@luoye-fe Thanks for this wonderful module, I am trying to get element details of inspected id's inside an iframe, as of version 1.2.3 inspector is working fine inside the iframe, how do I identify the element details as I hover over them in the iframe.
this is what I have
The text was updated successfully, but these errors were encountered: