File

packages/eui/packages/components/eui-growl/eui-growl.component.ts

Implements

DoCheck OnDestroy

Metadata

Index

Properties
Methods
Inputs
Outputs
HostBindings
HostListeners
Accessors

Constructor

constructor()

Inputs

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 : []

Outputs

growlClick
Type : EventEmitter<void>

HostBindings

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

HostListeners

click
click()

Methods

isGrowlMoreThanTwo
isGrowlMoreThanTwo()

check whether sticky growls are greater than two

Returns : boolean
onClick
onClick()
Decorators :
@HostListener('click')
Returns : void
remove
remove(msg: EuiGrowlMessage)
Parameters :
Name Type Optional Description
msg EuiGrowlMessage No

The text message to appear in the container

Returns : void
removeAll
removeAll()

Removes all growl messages from the stack

Returns : void

Properties

contentId
Type : string
Default value : 'msg-detail'
el
Default value : inject(ElementRef)
titleId
Type : string
Default value : 'msg-title'

Accessors

cssClasses
getcssClasses()

results matching ""

    No results matching ""