Create a new data lang by showing confirmation dialog first. If the given language code (langCode) already
exists in component data, this method will return a resolved Promise having result as data object of the
corresponding language.
The language code to create.
A Promise with result's value as in the following cases:
null.NO button, returns null.langCode already exists, returns data object of the corresponding language.string as a language code
any as a component instance of langCode return defaultInstance if langCode is null
any as one object.
Get output [[EventEmitter]] which will emit an event when lang button of this component is clicked.
any as object in pattern {iconURL: string, code: string, label: string}
data null return as a defaultInstanceDirty
as a dataLanguage
boolean is dataLanguageDirty
To check that the data bound to this component having the given language code or not.
The language code to check.
True if there is the given language code in the data. Otherwise,
returns false.
as any
promise that return array of dataLang object
when new language was created this method will be called
as any
when language was removed this method will be called
Remove data lang by showing confirmation dialog first. If the given language code (langCode) does not
exist in component data, this method will return a resolved Promise having result as null.
The language code to remove.
A Promise with result's value as in the following cases:
null.NO button, returns null.langCode does not exist, returns null.langCode.Generated using TypeDoc
the object map that contains component instances that has langCode as a key