<dy-alert>
Example
Loading...
<dy-alert
style=${"width: 300px"}
.status=${"negative"}
.header=${"This is alert title"}
.action=${{"text":"View"}}> Occaecat tempor amet fugiat ad fugiat sunt irure veniam consequat aute. </dy-alert>
API
Shadow DOM; Extends GemElement
Instance Properties
| Property(Attribute) | Reactive | Type |
|---|---|---|
header(header) |
Yes | string |
status(status) |
Yes | Status |
action |
Yes | { text: string; handle: () => void } |
Other
| Type | Value |
|---|---|
| Slot | unnamed |
