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

41 показвания
Преминаване към първото непрочетено съобщение

Sahil Bansal

непрочетено,
16.03.2019 г., 8:00:3816.03.19 г.
до 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?

Отговор до всички
Отговор до автора
Препращане
0 нови съобщения