4.0.10 • Published 12 months ago
@assaabloy/gw-group-atom-icons v4.0.10
Global web - web components
Toast
Custom HTML element
<gw-group-toast></gw-group-toast>Event Listener
This component is listening on a CustomEvent named 'showToast'. You can dispatch an event like so:
document.dispatchEvent(new CustomEvent('showToast', {detail: {text: 'Hello Johan! You are now logged in.', eventType: 'SUCCESS', time: 3000}}))Properties that can be sent with the event are:
- text - the text that will be displayed.
- eventType - controls the background color of the toast. Possible values are 'SUCCESS' and 'ERROR'.
- time - time in ms that the toast will be shown.
4.0.9
1 year ago
4.0.8
1 year ago
4.0.5
1 year ago
4.0.4
1 year ago
4.0.10
12 months ago
4.0.7
1 year ago
4.0.6
1 year ago
4.0.1
1 year ago
4.0.0
1 year ago
4.0.3
1 year ago
4.0.2
1 year ago
3.0.3
2 years ago
3.0.2
2 years ago
3.0.1
2 years ago
1.1.2
2 years ago
3.0.0
3 years ago
2.2.1
3 years ago
2.2.0
3 years ago
2.1.0
3 years ago
2.0.0
3 years ago
1.2.0
3 years ago
1.1.1
3 years ago
1.1.0
3 years ago
1.0.1
3 years ago
1.0.0
3 years ago