Class: FyzTranslocoPipe
@flyze/lib-core-angular 1.0.0-alpha.34· latestDefined in: projects/lib-core-angular/src/lib/fyz-translate/pipes/fyz-transloco.pipe.ts:16
Extended by
Section titled “Extended by”Implements
Section titled “Implements”PipeTransformOnDestroy
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new FyzTranslocoPipe(
fyzTranslateService,cdr):FyzTranslocoPipe
Defined in: projects/lib-core-angular/src/lib/fyz-translate/pipes/fyz-transloco.pipe.ts:25
Parameters
Section titled “Parameters”fyzTranslateService
Section titled “fyzTranslateService”ChangeDetectorRef
Returns
Section titled “Returns”FyzTranslocoPipe
Accessors
Section titled “Accessors”result
Section titled “result”Get Signature
Section titled “Get Signature”get result():
string
Defined in: projects/lib-core-angular/src/lib/fyz-translate/pipes/fyz-transloco.pipe.ts:22
Returns
Section titled “Returns”string
Methods
Section titled “Methods”ngOnDestroy()
Section titled “ngOnDestroy()”ngOnDestroy():
void
Defined in: projects/lib-core-angular/src/lib/fyz-translate/pipes/fyz-transloco.pipe.ts:70
A callback method that performs custom clean-up, invoked immediately before a directive, pipe, or service instance is destroyed.
Returns
Section titled “Returns”void
Implementation of
Section titled “Implementation of”OnDestroy.ngOnDestroy
transform()
Section titled “transform()”transform(
value,_params?):string
Defined in: projects/lib-core-angular/src/lib/fyz-translate/pipes/fyz-transloco.pipe.ts:34
Parameters
Section titled “Parameters”string
the translation key
_params?
Section titled “_params?”FyzTranslocoOptions = {}
scope the key is resolved in and the interpolation params
Returns
Section titled “Returns”string
Implementation of
Section titled “Implementation of”PipeTransform.transform