Configuring Item Properties
The ContextMenu enables you to apply configuration options to its item properties.
Text
You can set the text of the ContextMenu items by using the text
property.
URL
You can set the URL of the items by using the url
property. The URL will be rendered as a href
attribute on the item link.
Icon
You can specify the name of an SVG icon that will be rendered for the item by using the svgIcon
property.
Styles and Classes
You can set styles and classes to the items by using the cssStyle
and cssClass
properties.
Disabled Items
You can specify that a ContextMenu item is disabled by using the disabled
property.