Context Menu
<vscode-context-menu>
Properties
- data
Type MenuItemData[]
- preventClose reflected
By default, the menu closes when an item is clicked. This attribute prevents the menu from closing.
Attribute prevent-close Type boolean
Default false
- show reflected
Attribute show Type boolean
- version readonly
VSC Element version
Events
Emitted when a menu item is clicked
Type VscMenuSelectEvent
- vsc-select deprecated
- Renamed to
vsc-context-menu-select
Type CustomEvent
- Renamed to
Custom CSS Properties
--vscode-font-family
--vscode-font-size
--vscode-font-weight
--vscode-widget-shadow