Resets the current focus by blurring the active element.
This function checks if the currently focused element is an instance of HTMLElement, and if so, it removes focus from that element by calling the blur method.
HTMLElement
blur
https://developer.mozilla.org/docs/Web/API/Document/activeElement
Resets the current focus by blurring the active element.
This function checks if the currently focused element is an instance of
HTMLElement
, and if so, it removes focus from that element by calling theblur
method.See
https://developer.mozilla.org/docs/Web/API/Document/activeElement