Class LabelController

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.

Hierarchy

  • LabelController

Implements

Constructors

Properties

currentLanguage: null | string = null
labelData: Record<string, string> = {}
listeners: TEventbusRemover[] = []
name: string = 'LabelController'
operationData: null | ILabelControllerMetadata = null
requestLabelDataBound?: ((labelId) => void)

Type declaration

    • (labelId): void
    • Parameters

      • labelId: string

      Returns void

Methods

Generated using TypeDoc