Menu Item Types & Native Menu Items

kind Parameter

When creating a menu item, the kind parameter specifies the menu item's type and behavior.

kindTypeBehavior
0Normal commandTriggers the callback on click and performs the action
1SeparatorVisual separation, not clickable
2CheckboxHas a checked state; click toggles the check
3RadioMutually exclusive selection within the same group; click selects the item
4SubmenuExpands the sub-level menu
5Default menu itemWebView2 native operation, fires no event

When kind=5, the label parameter is set to the Name of a WebView2 default menu item; on click WebView2 performs the native operation and does not fire the menu-item-clicked event.

The following data is collected from the actual runtime output of the WebView2 Runtime. For some menu items (separators, extension-injected items, etc.) WebView2 does not expose a programmatic Name (returns "other"); such items cannot be referenced via jade_menu_item_create(kind=5) and have been excluded from the list.


Native Menu Item Name List

Categorized by Context Menu Context

Page blank area (kind=page)

NameLabelType
backBack(&B)Command
forwardForward(&F)Command
reloadReload(&R)Command
separatorSeparator
saveAsSave as(&A)Command
printPrint(&P)Command
separatorSeparator
moreToolsMore tools(&L)Submenu
↳ shareShare(&S)Command
separatorSeparator
inspectElementInspect(&N)Command

Selected text (kind=selected_text)

NameLabelType
copyCopy(&C)Command
copyLinkToHighlightCopy link to highlightCommand
printPrint(&P)Command
separatorSeparator
moreToolsMore tools(&L)Submenu
↳ shareShare(&S)Command
separatorSeparator
inspectElementInspect(&N)Command

Editable area (is_editable=true)

NameLabelType
emojiEmoji(&E)Command
separatorSeparator
undoUndo(&U)Command
redoRedo(&R)Command
separatorSeparator
cutCut(&T)Command
copyCopy(&C)Command
pastePaste(&P)Command
pasteAndMatchStylePaste as plain text(&A)Command
selectAllSelect all(&A)Command
separatorSeparator
moreToolsMore tools(&L)Submenu
↳ shareShare(&S)Command
separatorSeparator
inspectElementInspect(&N)Command
NameLabelType
openLinkInNewWindowOpen link in new window(&W)Command
separatorSeparator
saveLinkAsSave link as(&K)Command
copyLinkLocationCopy link(&O)Command
separatorSeparator
moreToolsMore tools(&L)Submenu
↳ shareShare(&S)Command
separatorSeparator
inspectElementInspect(&N)Command

Image (kind=image)

NameLabelType
saveImageAsSave image as(&V)Command
copyImageCopy image(&Y)Command
copyImageLocationCopy image link(&M)Command
separatorSeparator
moreToolsMore tools(&L)Submenu
↳ magnifyImageMagnify image(&M)Command
↳ shareShare(&S)Command
separatorSeparator
inspectElementInspect(&N)Command

Video (kind=video)

NameLabelType
saveMediaAsSave video asCommand
copyLinkCopy link(&O)Command
separatorSeparator
inspectElementInspect(&N)Command

Audio (kind=audio)

NameLabelType
saveMediaAsSave audio as(&V)Command
copyLinkCopy link(&O)Command
separatorSeparator
inspectElementInspect(&N)Command

Complete Name Index

#NameDescriptionAppears in
1backBackPage
2forwardForwardPage
3reloadReloadPage
4cutCutEditable area
5copyCopySelected text / Editable area
6pastePasteEditable area
7pasteAndMatchStylePaste as plain textEditable area
8selectAllSelect allEditable area
9undoUndoEditable area
10redoRedoEditable area
11emojiEmojiEditable area
12saveAsSave asPage
13saveLinkAsSave link asLink
14saveImageAsSave image asImage
15saveMediaAsSave media asVideo / Audio
16copyImageCopy imageImage
17copyImageLocationCopy image addressImage
18copyLinkLocationCopy linkLink
19copyLinkCopy linkVideo / Audio
20copyLinkToHighlightCopy link to highlightSelected text
21openLinkInNewWindowOpen link in new windowLink
22printPrintPage / Selected text
23inspectElementInspect elementAll contexts
24moreToolsMore tools (submenu)Most contexts
25magnifyImageMagnify imageImage (moreTools subitem)
26shareShareMost contexts (moreTools subitem)
27spellCheckSpell check (submenu)Editable area (depends on WebView2 version)
28extensionExtension (submenu)Depends on installed extensions