arlas-web-components / Exports / GetColorPipe
Class: GetColorPipe
Implements
PipeTransform
Table of contents
Constructors
Methods
Constructors
constructor
• new GetColorPipe(colorService
)
Parameters
Name | Type |
---|---|
colorService |
ArlasColorService |
Defined in
projects/arlas-components/src/lib/pipes/get-color/get-color.pipe.ts:28
Methods
transform
▸ transform(key
): string
Parameters
Name | Type |
---|---|
key |
string |
Returns
string
Implementation of
PipeTransform.transform
Defined in
projects/arlas-components/src/lib/pipes/get-color/get-color.pipe.ts:32