File

qwc/projects/qwc/src/lib/pipes/qwc-translate.pipe.ts

Metadata

Name qwcTranslate

Methods

transform
transform(key: any, ...args: any[])

Transforms the input key using the TranslatePipe. If the TranslatePipe is unavailable, falls back to the original value or a default value.

Parameters :
Name Type Optional Description
key any No
  • The key to be translated.
args any[] No
  • Additional arguments for the translation.
Returns : any

The translated value or the fallback value.

result-matching ""

    No results matching ""