1.1.8 • Published 5 years ago
simple-toaster v1.1.8
Simple toaster
An elegant and simple notification for javascript, with no dependencies
Features
- Simple CSS-animated customizable toast pop-ups for any design
- No dependencies and
< 1kb
code - Toasts appear and disappear by specifying optional timeout
Installation & Usage
Simple-toaster is primarily ES6 module. See it in action:
npm i simple-toaster
import simpleToaster from "simple-toaster"
simpleToaster('success', 'Hello Toaster!')
Parameters:
simpleToaster(
'error', // Toaster style type. Pre-defined: error, warning or success
'message', // Message
false // Timeout in ms (default: 5000)
)
Import the style
@import ~simple-toaster/src/simple-toaster // or '~simple-toaster/dist/simple-toaster.min.css'
1.1.8
5 years ago
1.1.7
5 years ago
1.1.6
8 years ago
1.1.5
8 years ago
1.1.4
8 years ago
1.1.3
8 years ago
1.1.2
8 years ago
1.1.1
8 years ago
1.1.0
8 years ago
1.0.9
8 years ago
1.0.8
8 years ago
1.0.7
8 years ago
1.0.6
8 years ago
1.0.5
8 years ago
1.0.4
8 years ago
1.0.3
8 years ago
1.0.2
8 years ago
1.0.1
8 years ago
1.0.0
8 years ago