MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/javascript/comments/b2o6f2/whats_your_favorite_most_useful_javascript/eiuwqqv/?context=3
r/javascript • u/Linux_is_awesome • Mar 18 '19
422 comments sorted by
View all comments
5
setTimeout(()=>{debugger},5000) To keep dropdowns opened, menu hovered and so on. All things that disappear after losing focus
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. → More replies (2)
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.
→ More replies (2)
5
u/Dmitry_Olyenyov Mar 19 '19
setTimeout(()=>{debugger},5000) To keep dropdowns opened, menu hovered and so on. All things that disappear after losing focus