845 Views
Today I came across an MDN page describing the relatedTarget property of focus events. blur, focus, focusin, and focusout count as focus events. It turns out that if you attach a focus event listener the fired event will include not only a target element but also a relatedTarget element.
0 comments