❗window-reflecting body element event handlers
browser ⟩ event ⟩ handler ⟩ window-reflecting body element event handlers
Window-reflecting body element event handlers:
if you assign one of the following event handlers on document.body, it will be reflected on window too, and vice versa.
onblur, onerror, onfocus, onload, onresize, onscroll
📗 Medium
Last updated