1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-16 20:24:01 +02:00

Added onKeyUp event suppor to slate-simulator and updated docs. (#1973)

This commit is contained in:
Enzo Ferey
2018-07-19 21:00:32 +02:00
committed by Ian Storm Taylor
parent 39d50b39e5
commit 31ca817f18
2 changed files with 7 additions and 0 deletions

View File

@@ -83,6 +83,12 @@ Simulator a `focus` event with an `event` object.
Simulator a `keyDown` event with an `event` object.
### `keyUp`
`keyUp(event: Object) => Simulator`
Simulator a `keyUp` event with an `event` object.
### `paste`
`paste(event: Object) => Simulator`

View File

@@ -14,6 +14,7 @@ const EVENT_HANDLERS = [
'onDrop',
'onFocus',
'onKeyDown',
'onKeyUp',
'onPaste',
'onSelect',
]