1.0.6 • Published 6 years ago

motajs-notify v1.0.6

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

motajs-notify

Very simple and minimum web notification.

Getting Started

Insert css and js files

<link rel="stylesheet" href="../dist/css/notify.min.css">
<script src="../dist/js/notify.min.js"></script>

and use!

    notify.success('Your message notification', 4000);
    // or notify.success('Your message notification');
    // timout is default 5000 ms

notifications supported

    notify.error('This is an erro notification');
    notify.warning('This is a warning notification');
    notify.info('This is an info notification');
    notify.success('This is a success notification');

    // or

    notify.show('Message text', 'messageType', timout);
    // messageType: 'error' | 'info' | 'success' | 'warning'

Authors

  • Jeferson Mota

License

MIT

1.0.6

6 years ago

1.0.5

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago