npm install corner-notie

A corner tip utility.
Hot-link the IIFE version in your web page directly, CSS is automatically included.
or via NPM:
``bash`
npm i -S corner-notie
`javascript
// if you are using webpack/browserify
import notie from 'corner-notie'
notie('hello world')
// default options
notie('', {
type: 'info', // info | warning | success | danger
autoHide: true,
timeout: 3000,
position: 'top-right',
width: 240
})
`
top-right | top-left | top-center
bottom-right | bottom-left | bottom-center
When autoHide is set to be false, you can click on the notie to hide it. In this way you may not want to hide notie when clicking on a href. Set attribute notie-prevent on that element to prevent from being hidden by clicking there.
`js`
notie('hello egoist', {
type: 'success',
autoHide: false
})
`bash``build for webpack and browser
run this each time you want to make new release
npm run buildrun gulp for development
npm run dev
MIT.