[new feature] Search: support input native events (#451)

This commit is contained in:
neverland
2017-12-19 10:24:56 +08:00
committed by GitHub
parent 48b2026e33
commit 79a2b13b63
7 changed files with 53 additions and 30 deletions
+1 -3
View File
@@ -90,12 +90,10 @@ Filed support all native properties of input tagsuch as `maxlength`、`placeh
| icon | Right side Icon name | `String` | - | - |
### Event
Filed support all native events of input tagsuch as `keypress`、`keyup`
Filed support all native events of input tagsuch as `focus`、`blur`、`keypress`
| Event | Description | Parameters |
|-----------|-----------|-----------|
| focus | Triggered when filed get focused | - |
| blur | Triggered when blur filed | - |
| click-icon | Triggered when click the icon of filed | - |
### Slot
+1
View File
@@ -64,6 +64,7 @@ Search support all native properties of input tagsuch as `maxlength`、`place
| showAction | Whether to show right button | `Boolean` | false | - |
### Event
Search support all native events of input tagsuch as `focus`、`blur`、`keypress`
| Event | Description | Attribute |
|-----------|-----------|-----------|