getLanguageResources Function
Public function for getLanguageResources.
Package: @txtextcontrol/tx-sheet-control/angular. Version: 2.0.0.
ES module import: import { getLanguageResources } from '@txtextcontrol/tx-sheet-control';.
Syntax
getLanguageResources(language?: string): Readonly<Record<LocalizationKey, string>>
Parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
language | string | undefined | Yes | Value matching language's declared type and the owning object's validation rules. |
Return Value
Readonly<Record<LocalizationKey, string>>.
Examples
Use this public value with the application package shown below. File and font inputs are application-owned resources, not automatically downloaded product data.
import { getLanguageResources } from '@txtextcontrol/tx-sheet-control/angular';
const result = getLanguageResources();
console.log(result);