0.5.0 • Published 3 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
3 years ago
0.4.0
3 years ago
0.3.3
3 years ago
0.3.2
3 years ago
0.3.1
3 years ago
0.3.0
3 years ago
0.2.0
3 years ago
0.1.0
3 years ago
0.0.15
4 years ago
0.0.14
4 years ago
0.0.12
5 years ago
0.0.11
5 years ago
0.0.9
5 years ago
0.0.8
5 years ago
0.0.7
5 years ago
0.0.6
5 years ago
0.0.5
6 years ago
0.0.4
6 years ago
0.0.3
6 years ago
0.0.2
6 years ago