1.1.8 • Published 4 years ago

simple-toaster v1.1.8

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

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

4 years ago

1.1.7

4 years ago

1.1.6

6 years ago

1.1.5

6 years ago

1.1.4

6 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago