Skip to content

arlas-web-components / Exports / Action

Interface: Action

Table of contents

Properties

Properties

actionBus

Optional actionBus: Subject<{ idFieldName: string ; idValue: string }>

Defined in

projects/arlas-components/src/lib/components/results/utils/results.utils.ts:39


activated

Optional activated: boolean

if activated, the action is always displayed (not only on hover).

Defined in

projects/arlas-components/src/lib/components/results/utils/results.utils.ts:46


alwaysEnabled

Optional alwaysEnabled: boolean

For global actions, even if no item is selected, the action will be enabled

Defined in

projects/arlas-components/src/lib/components/results/utils/results.utils.ts:55


cssClass

Optional cssClass: string | string[]

Defined in

projects/arlas-components/src/lib/components/results/utils/results.utils.ts:40


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

projects/arlas-components/src/lib/components/results/utils/results.utils.ts:51


icon

Optional icon: string

An Angular icon name to be used to display the icon button of the action.

Defined in

projects/arlas-components/src/lib/components/results/utils/results.utils.ts:48


id

id: string

Defined in

projects/arlas-components/src/lib/components/results/utils/results.utils.ts:37


label

label: string

Defined in

projects/arlas-components/src/lib/components/results/utils/results.utils.ts:38


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

projects/arlas-components/src/lib/components/results/utils/results.utils.ts:44


show

Optional show: boolean

Calculated attribute that tells if the action should be shown or not.

Defined in

projects/arlas-components/src/lib/components/results/utils/results.utils.ts:53


tooltip

Optional tooltip: string

Defined in

projects/arlas-components/src/lib/components/results/utils/results.utils.ts:41