packages/eui/packages/components/eui-growl/eui-growl.component.ts
DoCheck
OnDestroy
encapsulation | ViewEncapsulation.None |
selector | eui-growl |
imports |
NgClass
TranslateModule
EUI_ICON
EUI_ICON_BUTTON
EUI_ICON_STATE
|
templateUrl | ./eui-growl.component.html |
styleUrl | ./eui-growl.scss |
Properties |
Methods |
Inputs |
Outputs |
HostBindings |
HostListeners |
Accessors |
constructor()
|
closeAllSticky |
Type : boolean
|
Default value : false
|
e2eAttr |
Type : string
|
Default value : 'eui-growl'
|
life |
Type : number
|
Default value : 3000
|
position |
Type : string
|
sticky |
Type : boolean
|
Default value : false
|
value |
Type : EuiGrowlMessage[]
|
Default value : []
|
growlClick |
Type : EventEmitter<void>
|
attr.aria-describedby |
Type : string
|
Default value : this.contentId
|
attr.aria-labelledby |
Type : string
|
Default value : this.titleId
|
attr.aria-live |
Type : string
|
Default value : 'polite'
|
attr.role |
Type : string
|
Default value : 'region'
|
class |
Type : string
|
click |
click()
|
isGrowlMoreThanTwo |
isGrowlMoreThanTwo()
|
check whether sticky growls are greater than two
Returns :
boolean
|
onClick |
onClick()
|
Decorators :
@HostListener('click')
|
Returns :
void
|
remove | ||||||||
remove(msg: EuiGrowlMessage)
|
||||||||
Parameters :
Returns :
void
|
removeAll |
removeAll()
|
Removes all growl messages from the stack
Returns :
void
|
contentId |
Type : string
|
Default value : 'msg-detail'
|
el |
Default value : inject(ElementRef)
|
titleId |
Type : string
|
Default value : 'msg-title'
|
cssClasses |
getcssClasses()
|