Chrome dev tools - select element, right click on the element in the inspector, select "Break on" > "subtree modifications". Then you can click on the element and see it's focused state attributes in the inspector.
I've had problem with that solution multiple times, mainly with some sort of libraries that appends every time a new DOM elements (complicated ones), and setTimeout + debbuger was always helpful then ;)
5
u/kichien Mar 19 '19
Chrome dev tools - select element, right click on the element in the inspector, select "Break on" > "subtree modifications". Then you can click on the element and see it's focused state attributes in the inspector.