0.5.0 • Published 4 years ago
@emanon/ema-toast v0.5.0
ema-toast
Overall
Used to notify a user of small information.
Properties
Property | Attribute | Type | Default | Description |
---|---|---|---|---|
icon | icon | string | "" | Designates a specific icon |
open | open | boolean | false | Toast will be visible when true. |
outlined | outlined | boolean | false | Makes the background transparent and applies a thin border. |
placement | placement | "top" \| "bottom" | "bottom" | Position where to show on the window. |
timeout | timeout | number | 2000 | Time (in milliseconds) to wait until toast is automatically closed. Use -1 to keep open indefinitely. |
Events
Event | Type | Description |
---|---|---|
closed | CustomEvent<{}> | Fires when Drawer has closed. |
opened | CustomEvent<{}> | Fires when Drawer has opened. |
request-close | CustomEvent<{ accept: () => void; }> | Fires when the toast want to be closed.Call the function passed to accept. |
CSS Custom Properties
Property | Description |
---|---|
--ema-c-toast-color | Applies specified color to the control. |
0.5.0
4 years ago
0.4.0
4 years ago
0.3.3
4 years ago
0.3.2
5 years ago
0.3.1
5 years ago
0.3.0
5 years ago
0.2.0
5 years ago
0.1.0
5 years ago
0.0.15
5 years ago
0.0.14
5 years ago
0.0.12
6 years ago
0.0.11
6 years ago
0.0.9
6 years ago
0.0.8
6 years ago
0.0.7
6 years ago
0.0.6
7 years ago
0.0.5
7 years ago
0.0.4
7 years ago
0.0.3
7 years ago
0.0.2
7 years ago