Skip to content

arlas-web-components / Exports / ActionDisplayerPipe

Class: ActionDisplayerPipe

Implements

  • PipeTransform

Table of contents

Constructors

Methods

Constructors

constructor

new ActionDisplayerPipe()

Methods

transform

transform(a, displayElement): string

Parameters

Name Type Description
a Action Action
displayElement "icon" | "label" | "tooltip" | "id" Part of the action displayed in the template

Returns

string

According to the action's state, returns the right displayElement.

Implementation of

PipeTransform.transform

Defined in

projects/arlas-components/src/lib/components/results/result-actions/result-actions.pipe.ts:33