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

Skip to first unread message

Sahil Bansal

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
0 new messages