corner-notie
A corner tip utility.
Install
Hot-link the IIFE version in your web page directly, CSS is automatically included.
or via NPM:
npm i -S corner-notie
Usage
// if you are using webpack/browserify // default options
Positions
top-right | top-left | top-center
bottom-right | bottom-left | bottom-center
Click to hide notie
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.
Development
# build for webpack and browser # run this each time you want to make new release npm run build# run gulp for development npm run dev
License
MIT.