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:
committed by
Ian Storm Taylor
parent
39d50b39e5
commit
31ca817f18
@@ -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`
|
||||
|
@@ -14,6 +14,7 @@ const EVENT_HANDLERS = [
|
||||
'onDrop',
|
||||
'onFocus',
|
||||
'onKeyDown',
|
||||
'onKeyUp',
|
||||
'onPaste',
|
||||
'onSelect',
|
||||
]
|
||||
|
Reference in New Issue
Block a user