Skip to content

arlas-web-components / Exports / ActionHandler

Class: ActionHandler

A utility class to handle the action's states

Table of contents

Constructors

Methods

Constructors

constructor

new ActionHandler()

Methods

activate

Static activate(a): void

Parameters

Name Type
a Action

Returns

void

Defined in

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


isReversible

Static isReversible(a): boolean

An action is reversible simply when a reverse action is declared.

Parameters

Name Type
a Action

Returns

boolean

Defined in

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


reverse

Static reverse(a): void

Parameters

Name Type
a Action

Returns

void

Defined in

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