1.0.7 • Published 3 years ago

erinnern v1.0.7

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

Erinnern is a html notice component which written in javascript

Notice

Please use package 'handy-toast' instead this one, 'handy-toast' is another version of erinnern

(This is a font-end component, please use it in the webpack environment, otherwise it may not work)

Example

// in the main.js file
// import
import Erinnern from "erinnern"
// create an instance
const instance = new Erinnern()
// initialize
instance.init()
// three types of notice:
// Success type
window.$notice.success('This is a success message', 'Success')
// Warning type
window.$notice.warning('This is a warning message', 'Warning')
// Error type
window.$notice.error('This is a error message', 'Error')

Output

Output

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago