Contains array of alert objects, each containing a message and type.
[{type: 'info', msg: 'This is an info alert.'},{type: 'success', msg: 'This is an success alert.'}]
Adds an error-type message to Alerts.list.
Alerts.error('This is an error message');
Param | Type | Details |
msg | string | Message to be added to Alerts.list. |
Adds a warning-type message to Alerts.list.
Alerts.warning('This is a warning message');
Param | Type | Details |
msg | string | Message to be added to Alerts.list. |
Adds an info-type message to Alerts.list.
Alerts.info('This is an info message');
Param | Type | Details |
msg | string | Message to be added to Alerts.list. |
Adds an success-type message to Alerts.list.
Alerts.success('This is a success message');
Param | Type | Details |
msg | string | Message to be added to Alerts.list. |