How to clear selection of chrome.devtools.panels.elements?

42 views
Skip to first unread message

Sahil Bansal

unread,
Mar 16, 2019, 8:00:38 AM3/16/19
to Chrome DevTools

I was trying to use


chrome.devtools.panels.elements.onSelectionChnaged.addListener(() => { ... })


in me devtools based chrome extension,


but it doesn't work if user selects the same element again.
Is there any way to do that,
like, rather than 'onSelectionChanged' event, is there some kind of 'onSelection' event?,
or, any way to clear the selection?

Reply all
Reply to author
Forward
0 new messages