Socket
Book a DemoInstallSign in
Socket

notifyzz

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

notifyzz

Plugin for notifications

1.0.1
latest
Source
npmnpm
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

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() {},
});
SettingDescriptionType
titleTitle in notify (allow HTML)string
contentContent in notify (allow HTML)string
durationDuration of a notificationnumber
extraClassAdded to notifystring
positionNotify position (allow left, bottom)string
isClosingOnClickClose on mouse or touchboolean
isClosingOnSwipeClose on swipe on mobile devicesboolean
beforeCreateCallbackfunction
beforeOpenCallbackfunction
beforeCloseCallbackfunction
beforeDestroyCallbackfunction
beforeContainerDestroyCallbackfunction

Author

@BrooonS

Licence

MIT licence

Keywords

notify

FAQs

Package last updated on 02 May 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.