Actions Menu
- Last UpdatedMay 10, 2023
- 1 minute read
This section describes the parameters that can be used in the JS file when creating an extension to add an option to the Actions menu.
Registration
Method: ActionsMenu.register(id, definition)
Registration Definition Parameters
|
Parameter |
Description |
Required/Optional |
Default Value |
|---|---|---|---|
|
directive |
The directive to use to fulfill the functionality. |
Required |
|
|
text |
The text to display for the action. |
Required |
|
|
order |
The order in which, it should be displayed. The Lower number is closer to the top. |
Optional |
10000 |
Directive
Directive Scope Parameters
|
Parameter |
Description |
Required/Optional |
|---|---|---|
|
items |
The array of items that you have to act on. |
Required |
|
select |
The function to call when the action is selected. |
Required |
|
hide |
Whether to hide the control. |
Optional |