dom-inspector
dom-inspector copied to clipboard
How to exclude all childs of a class ?
Hi, As indicated in the title how to exclude all childs of a class. Currently if I do exclude:['.myclass','.myotherclass'] only the element who has the defined classes are exclude but not the childrens. How to do that ? Best regards,
try
const inspector = new DomInspector({
root: 'body',
exclude: ['.myclass *',]
});
ping