Created
May 3, 2019 12:29
-
-
Save gossi/ba2d8dac0a7e1f7910da288a7b4542de to your computer and use it in GitHub Desktop.
Event Support: CompatibleInputEvent
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* A normalized event from InputEvent and KeyboardEvent that works from ie11 | |
* over modern browsers to android browsers (because that beast is worse than ie6) | |
*/ | |
export interface CompatibleInputEvent { | |
data?: string; | |
inputType?: string; | |
navigationType?: string; | |
originalEvent: KeyboardEvent | InputEvent; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment