UNPKG

reakit-utils

Version:

Reakit utils

10 lines (9 loc) 296 B
/** * Creates and dispatches a blur event in a way that also works on IE 11. * * @example * import { fireBlurEvent } from "reakit-utils"; * * fireBlurEvent(document.getElementById("id")); */ export declare function fireBlurEvent(element: HTMLElement, eventInit?: FocusEventInit): boolean;