API reference: @salmonui/buttons/menu
MenuChangeEventinterface
import type { MenuChangeEvent } from '@salmonui/buttons/menu';interface MenuChangeEvent {
readonly source: MenuSource;
readonly reason: 'action';
}
Second argument of onCheckedChange / onValueChange in menus (frozen).
| Name | Signature | Description |
|---|---|---|
source | readonly source: MenuSource; | |
reason | readonly reason: 'action'; |