This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

notifyzz

1.0.1 • Public • Published

NotifyzZ

Plugin for shown notifications on your site.

Demo

Demo page

Usage

Connect

In head:

<link rel="stylesheet" href="/js/notifyzz.min.css">

Before </body>

<script src="/js/notifyzz.min.js"></script>

HTML

<div class="timer j-timer"></div>

Initialization

new NotifyzZ({
  title: 'BrooonS',
  content: 'Hello world!',
});

Config

new NotifyzZ({
  title: '',
  content: '',
  duration: 5000,
  extraClass: '',
  position: '',
  isClosingOnClick: true,
  isClosingOnSwipe: true,
  beforeCreate() {},
  beforeOpen() {},
  beforeClose() {},
  beforeDestroy() {},
  beforeContainerDestroy() {},
});
Setting Description Type
title Title in notify (allow HTML) string
content Content in notify (allow HTML) string
duration Duration of a notification number
extraClass Added to notify string
position Notify position (allow left, bottom) string
isClosingOnClick Close on mouse or touch boolean
isClosingOnSwipe Close on swipe on mobile devices boolean
beforeCreate Callback function
beforeOpen Callback function
beforeClose Callback function
beforeDestroy Callback function
beforeContainerDestroy Callback function

Author

@BrooonS

Licence

MIT licence

Package Sidebar

Install

npm i notifyzz

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

39.2 kB

Total Files

15

Last publish

Collaborators

  • brooons