mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-20 20:33:02 +00:00
feat(context-menu): include clicked element in "open" event detail
This commit is contained in:
parent
f603106b18
commit
c43da25e43
5 changed files with 16 additions and 10 deletions
|
@ -796,12 +796,12 @@ None.
|
|||
|
||||
### Events
|
||||
|
||||
| Event name | Type | Detail |
|
||||
| :--------- | :--------- | :----- |
|
||||
| click | forwarded | -- |
|
||||
| keydown | forwarded | -- |
|
||||
| open | dispatched | -- |
|
||||
| close | dispatched | -- |
|
||||
| Event name | Type | Detail |
|
||||
| :--------- | :--------- | :----------------------- |
|
||||
| open | dispatched | <code>HTMLElement</code> |
|
||||
| click | forwarded | -- |
|
||||
| keydown | forwarded | -- |
|
||||
| close | dispatched | -- |
|
||||
|
||||
## `ContextMenuDivider`
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue