<kern-menu-item>
One action in kern-menu, with optional icon; tone="danger" for destructive actions (Werksreset, Löschen).
Examples
See the examples on kern-menu.
Properties
disabledboolean
icon"bulb" | "calendar" | "check" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "clock" | "close" | "copy" | "download" | "edit" | "external" | "eye" | "eye-off" | "filter" | "home" | "inbox" | "info" | "link" | "lock" | "menu" | "minus" | "moon" | "more" | "plus" | "power" | "refresh" | "search" | "settings" | "star" | "sun" | "thermometer" | "trash" | "upload" | "warn" | "wifi" | undefined
Glyph name (see kern-icon).
tone"danger" | "default"
valuestring | undefined
Passed in kernSelect; defaults to the text.
Events
kernMenuItemSelectCustomEvent<{ value: string; }>
Asks the menu to pick this item (internal).
Slots
(default)Text