arlas-web-contributors / Action
Interface: Action
Action trigger by a contributor through the app or another contributor. - id of action. - label of action.
Properties
activated?
optional
activated:boolean
if activated, the action is always displayed (not only on hover).
Defined in
src/models/models.ts:57
alwaysEnabled?
optional
alwaysEnabled:boolean
For global actions, even if no item is selected, the action will be enabled
Defined in
src/models/models.ts:66
collection?
optional
collection:string
Defined in
src/models/models.ts:51
cssClass?
optional
cssClass:string
|string
[]
Defined in
src/models/models.ts:52
fields?
optional
fields:string
[]
If this attribute is set, it means that this action needs these fields values in order to be accomplished. If those fields values don't exist for an item, then the action could not be completed and therefore should be hidden.
Defined in
src/models/models.ts:62
icon?
optional
icon:string
An Angular icon name to be used to display the icon button of the action.
Defined in
src/models/models.ts:59
id
id:
string
Defined in
src/models/models.ts:48
label
label:
string
Defined in
src/models/models.ts:49
reverseAction?
optional
reverseAction:Action
An action might need a reverse action to go back to an original state. For instance: add layer to map => reverse => remove layer from map.
Defined in
src/models/models.ts:55
show?
optional
show:boolean
Calculated attribute that tells if the action should be shown or not.
Defined in
src/models/models.ts:64
tooltip?
optional
tooltip:string
Defined in
src/models/models.ts:50