Context menu button
The button for displaying the dropdown menu for executing different actions (e.g. navigation). The component supports both manual and dynamic options configuration, different positioning and adjustment options, as well as different appearance and styling options.
Methods
Method | Description |
---|---|
| disables or enables the component |
| sets the items of the menu |
| triggers a click event |
| opens the menu |
| closes the menu |
| toggles the menu |
Triggers
Triggers allow you to launch certain actions based on different events.
On Init | Calls for an action on component initialization, e.g., page refresh |
On Click | Calls for an action when a component is clicked |
On Menu item Click | Calls for an action when a menu item is clicked |
Trigger unique actions based on the selected menu item
To set up unique actions for each selected option, adhere to these steps:
Set up your menu items and assign each one a unique ID
Create a new action incorporating a JavaScript step and assign it to the On Menu Item Click trigger
Upon clicking a menu item, the action will be initiated, and the variable
{{params.id}}
will contain the value of the selected item ID. Use this code to activate distinct actions depending on the chosen item:
Last updated