[add] TextInput support for onKeyPress

Fix #215
This commit is contained in:
Nicolas Gallagher
2016-10-27 22:17:59 -07:00
parent 1963e9109a
commit 9db3bd7e67
2 changed files with 9 additions and 0 deletions

View File

@@ -87,6 +87,11 @@ as an argument to the callback handler.
Callback that is called when the text input is focused.
**onKeyPress**: function
Callback that is called when a key is pressed. Pressed key value is passed as
an argument to the callback handler. Fires before `onChange` callbacks.
(web) **onSelectionChange**: function
Callback that is called when the text input's selection changes. The following