1.8.1 • Published 10 months ago
@finastra/alert-message v1.8.1
AlertMessage
An alert displays a short, important message in a way that attracts the user's attention without interrupting the user's task.
Usage
Import
npm i @finastra/alert-message
import '@finastra/alert-message';
...
<fds-alert-message type="success" title="Success" description="A banner displays an important, succinct message, and provides actions for users to address or dismiss the banner.">
</fds-alert-message>
API
Properties
Property | Attribute | Type | Default | Description |
---|---|---|---|---|
dense | dense | boolean | false | dense . |
description | description | string | "" | Alert description. |
icon | icon | string | "" | Alert Icon. |
layout | layout | multiLines\|singleLine | "multiLines" | Define the layout type |
showCloseButton | showCloseButton | boolean | false | Display the close button to dismiss the alert message. |
title | title | string | "" | Alert title. |
type | type | info\|error\|success\|warning | "success" | Define the alert type |
withoutIcon | withoutIcon | boolean | false | Remove the Icon from the alert message. |
Methods
Method | Type |
---|---|
renderIcon | (): TemplateResult<1> |
1.8.1
10 months ago
1.8.0
12 months ago
1.7.0
1 year ago
1.6.0
1 year ago
1.4.2
1 year ago
1.5.0
1 year ago
1.4.1
1 year ago
1.4.0
1 year ago
1.3.0
1 year ago
1.2.17
1 year ago
1.2.16
1 year ago
1.2.15
1 year ago
1.2.14
1 year ago
1.2.13
1 year ago
1.2.12
1 year ago
1.2.11
1 year ago
1.2.10
1 year ago
1.2.9
1 year ago
1.2.8
2 years ago
1.2.7
2 years ago
1.2.1
2 years ago
1.1.3
2 years ago
1.1.2
2 years ago
1.1.1
2 years ago
1.1.0
2 years ago
1.0.7
2 years ago