Properties
currentLanguage
currentLanguage: null | string = null
labelData
labelData: Record<string, string> = {}
name
name: string = 'LabelController'
operationData
operationData: null | ILabelControllerMetadata = null
Optional
requestLabelDataBound
requestLabelDataBound?: ((labelId) => void)
Type declaration
- (labelId): void
Returns void
This controller attaches to the given selected element and renders the text associated with the given label id in it.
The controller also listen for the
LANGUAGE_CHANGE
event and re-renders the text with the new language after such an event.