UNPKG

456 BTypeScriptView Raw
1/**
2 * Checks if an event is supported in the current execution environment.
3 *
4 * NOTE: This will not work correctly for non-generic events such as `change`,
5 * `reset`, `load`, `error`, and `select`.
6 *
7 * Borrows from Modernizr.
8 * @internal
9 * @license Modernizr 3.0.0pre (Custom Build) | MIT
10 */
11declare function isEventSupported(eventNameSuffix: string, capture?: boolean): boolean;
12
13declare namespace isEventSupported {}
14
15export = isEventSupported;