Name | Type | Default | Description |
---|---|---|---|
message | String | '' | The message that the toast will display |
type | String | info | The type of message. Options are the same as alerts. (info, warning, error, success) |
position | String | top-right | Where the toast should appear. Options are top-right, top, top-left, bottom-right, bottom, bottom-left |
duration | Number | 2500 | How long the toast should appear. If 0 is passed the toast will require the user to click to close |
limit | Number | 3 | The number of toast that are on screen at once |