Skip to main content

Menu

Description

On this page you will find how to affect only the icon that appears in the menu.

note

To activate one or more properties of the the new menu, the Show new menu button should be enabled

PropertiesTypeRequiredDescription
Show new menuBooleanfalseDisplay the new menu.
On InitializedFunctionfalseA function used to save the UI component instance.
On Item ClickFunction | StringfalseA function that is executed when a collection item is clicked or tapped.
On ShowingFunctionfalseA function that is executed before the context menu is shown.

img-box-shadow

Basic Usage

function onShowing(menus) {
let obj = menus.find((a) => a.id == "Contracts");
if (obj) {
obj.icon = "far fa-calendar-alt";
}
return menus;
}

Example

img-box-shadow

img-box-shadow