packages/eui/packages/components/eui-language-selector/language-selector.component.ts
OnInit
AfterViewInit
OnDestroy
OnChanges
encapsulation | ViewEncapsulation.None |
providers |
EuiDialogService
|
selector | eui-language-selector |
imports |
AsyncPipe
NgTemplateOutlet
EUI_DIALOG
EUI_DROPDOWN
EUI_ICON
EUI_BUTTON
|
templateUrl | ./language-selector.component.html |
styleUrl | ./language-selector.scss |
Properties |
Methods |
Inputs |
Outputs |
HostBindings |
Accessors |
aria-label |
Type : string
|
euiPrimary |
Type : boolean
|
Default value : false
|
hasLanguageSelection |
Type : boolean
|
Default value : true
|
isToolbarSelector |
Type : boolean
|
Default value : false
|
languageSelectorClick |
Type : EventEmitter
|
class |
Type : string
|
onClick |
onClick()
|
Returns :
void
|
onLanguageChanged | ||||||
onLanguageChanged(language: EuiLanguage)
|
||||||
Parameters :
Returns :
void
|
onOpen | ||||||||
onOpen(titleLabel: string)
|
||||||||
Opens the modal that renders the UxLanguage array with modal actions bindings to this Component
Parameters :
Returns :
void
|
appShellService |
Default value : inject(EuiAppShellService)
|
languages |
Type : EuiLanguage[]
|
selectedLanguage |
Type : EuiLanguage
|
cssClasses |
getcssClasses()
|
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
|