mirror of
https://github.com/material-components/material-web.git
synced 2024-10-28 06:28:12 +03:00
parent
5f4fe8f106
commit
941e2809e9
@ -256,7 +256,7 @@ Name | Description
|
||||
| `opened` | `mwc-select-surface` | none | Fired menu opens. |
|
||||
| `closed` | `mwc-select-surface` | none | Fired menu closes. |
|
||||
| `action` | `mwc-list` | `ActionDetail`* | Fired when a selection has been made via click or keyboard action. |
|
||||
| `selected` | `mwc-list` | `SelectedDetail`* | Fired when a selection has been made. `index` is the selected index (will be of type `Set<number>` if multi and `number` if single), and `diff` (of type `IndexDiff`**) represents the diff of added and removed indices from previous selection. |
|
||||
| `selected` | `mwc-list` | `SelectedDetail`* | Fired when a selection has been made. Attribute `index` is the selected index (will be of type `number`) |
|
||||
|
||||
\* See
|
||||
[`mwc-list`'s Events section](https://github.com/material-components/material-components-web-components/tree/master/packages/list#mwc-list-2)
|
||||
|
Loading…
Reference in New Issue
Block a user