Skip to main content

JeAlert | <je-alert>

Properties

PropertyAttributeDescriptionTypeDefault
closableclosablebooleanfalse
colorcolor"danger" | "primary" | "secondary" | "success" | "warning"'primary'
durationdurationnumber0
headerheaderstringundefined
iconiconstringundefined
messagemessagestringundefined
openopenbooleanfalse
progressprogressbooleanfalse

Events

EventDescriptionType
dismissCustomEvent<{ role?: string; data?: any; }>
presentCustomEvent<any>

Methods

didDismiss() => Promise<OverlayData>

Returns

Type: Promise<OverlayData>

hide(role?: string, data?: any) => Promise<void>

Parameters

NameTypeDescription
rolestring
dataany

Returns

Type: Promise<void>

show() => Promise<void>

Returns

Type: Promise<void>

Shadow Parts

PartDescription
"header"
"message"

Dependencies

Depends on

Graph


Built with StencilJS