Functions
compareEventKey
- compareEventKey(event: KeyboardEvent, key: Keys): boolean
-
Parameters
Returns boolean
getButtonFromEvent
- getButtonFromEvent(event: MouseEvent): Button | undefined
-
Parameters
Returns Button | undefined
getButtonFromEventButtons
- getButtonFromEventButtons(button: MouseEvent["button"]): Button | undefined
-
Parameters
-
button: MouseEvent["button"]
Returns Button | undefined