Item View 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 item view Actions menu.
Registration
Method: ItemViewActionsMenu.register(id, definition)
Registration Definition Parameters
|
Parameter |
Description |
Required/Optional |
Default Value |
|---|---|---|---|
|
directive |
The name of 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. 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 |