packages/eui/packages/components-next/src/lib/layout/eui-language-selector/language-selector.component.ts
BaseDirective
| changeDetection | ChangeDetectionStrategy.Default |
| encapsulation | ViewEncapsulation.None |
| providers |
EuiDynamicComponentService
|
| selector | eui-language-selector |
| styleUrls | ./_styles/_index.scss |
| templateUrl | ./language-selector.component.html |
Properties |
Methods |
HostBindings |
Accessors |
constructor(cd: ChangeDetectorRef, euiDialogService: EuiDialogService, appShellService: UxAppShellService, translateService: TranslateService)
|
|||||||||||||||
|
Parameters :
|
| class |
| onLanguageChanged | ||||||
onLanguageChanged(language: UxLanguage)
|
||||||
|
Parameters :
Returns :
void
|
| open | ||||||||
open(titleLabel: string)
|
||||||||
|
Opens the modal that renders the UxLanguage array with modal actions bindings to this Component
Parameters :
Returns :
void
|
| Public appShellService |
Type : UxAppShellService
|
| languages |
Type : UxLanguage[]
|
| selectedLanguage |
Type : UxLanguage
|
| isShowDropDown |
getisShowDropDown()
|
|
returns true if there are at least one and max four languages.
Returns :
boolean
|
| isShowModal |
getisShowModal()
|
|
returns true if there are at least five languages.
Returns :
boolean
|