Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Event Support: CompatibleInputEvent
/**
* 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