mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-23 05:58:26 +08:00
docs(input): add note about text input events
Closes https://github.com/driftyco/ionic-site/issues/991
This commit is contained in:
@ -27,11 +27,14 @@ import { Platform } from '../../platform/platform';
|
||||
* element it's able to better handle the user experience and
|
||||
* interactivity.
|
||||
*
|
||||
* Similarily, `<ion-textarea>` should be used in place of `<textarea>`.
|
||||
* Similarly, `<ion-textarea>` should be used in place of `<textarea>`.
|
||||
*
|
||||
* An `ion-input` is **not** used for non-text type inputs, such as a
|
||||
* `checkbox`, `radio`, `toggle`, `range`, `select`, etc.
|
||||
*
|
||||
* Along with the blur/focus events, `input` support all standard text input
|
||||
* events like `keyup`, `keydown`, `keypress`, `input`,etc. Any standard event
|
||||
* can be attached and will function as expected.
|
||||
*
|
||||
* @usage
|
||||
* ```html
|
||||
|
Reference in New Issue
Block a user