raise keyboard events, improve task list keyboard handling (#2401)

This commit is contained in:
Denys Vuika
2017-09-29 13:34:16 -04:00
committed by Eugenio Romano
parent 9f0e40a6e8
commit e756db03cd
5 changed files with 53 additions and 14 deletions

View File

@@ -169,6 +169,7 @@ These events bubble up the component tree and can be handled by any parent compo
| row-dblclick | Raised when user double-clicks a row |
| row-select | Raised after user selects a row |
| row-unselect | Raised after user unselects a row |
| row-keyup | Raised on the 'keyup' event for the focused row. |
For example:
@@ -288,6 +289,18 @@ Note: the `<loading-content-template>` and `<no-content-template>` can be used t
### Events
#### row-keyup DOM event
Raised on the 'keyup' event for the focused row.
This is an instance of the `CustomEvent` with the `details` property containing the following object:
```ts
row: DataRow,
keyboardEvent: KeyboardEvent,
sender: any
```
#### rowClick event
Emitted when user clicks a row.