Class: FyzTranslatePipe
@flyze/lib-core-angular 1.0.0-alpha.34· latestDefined in: projects/lib-core-angular/src/lib/fyz-translate/pipes/fyz-translate.pipe.ts:15
Implements
Section titled “Implements”PipeTransformOnDestroy
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new FyzTranslatePipe():
FyzTranslatePipe
Defined in: projects/lib-core-angular/src/lib/fyz-translate/pipes/fyz-translate.pipe.ts:30
Returns
Section titled “Returns”FyzTranslatePipe
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-translate.pipe.ts:26
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-translate.pipe.ts:84
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()”Call Signature
Section titled “Call Signature”transform(
value,opts?):string
Defined in: projects/lib-core-angular/src/lib/fyz-translate/pipes/fyz-translate.pipe.ts:36
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”string
Deprecated
Section titled “Deprecated”parse a configuration object instead of a string
Implementation of
Section titled “Implementation of”PipeTransform.transform
Call Signature
Section titled “Call Signature”transform(…
value):string
Defined in: projects/lib-core-angular/src/lib/fyz-translate/pipes/fyz-translate.pipe.ts:42
Compatibility signature for callers holding a FyzTranslationConfig | string value.
Prefer passing a configuration object.
Parameters
Section titled “Parameters”…TranslatePipeParams
Returns
Section titled “Returns”string
Implementation of
Section titled “Implementation of”PipeTransform.transform
Call Signature
Section titled “Call Signature”transform(
value,opts?):string
Defined in: projects/lib-core-angular/src/lib/fyz-translate/pipes/fyz-translate.pipe.ts:52
Consumes a configuration object and returns a translated string.
Inputs are treated as immutable: replace the configuration object to trigger a new translation, mutating it in place is not detected.
Parameters
Section titled “Parameters”the translation configuration
call-site options, opts.params overrides params carried by value
Returns
Section titled “Returns”string
Implementation of
Section titled “Implementation of”PipeTransform.transform