Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ng-snotify

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ng-snotify

Angular 2 notifications center

  • 2.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2.3K
decreased by-17.68%
Maintainers
1
Weekly downloads
 
Created
Source

ng-snotify

Build Status NPM Version NPM Downloads

Example

https://artemsky.github.io/ng-snotify/

Features

  • 8 types of toast notifications (async, confirm, prompt and more...)
  • Many config options (icons, backdrop, timeout, position and much more)
  • Custom styling
  • Custom css animations
  • Callbacks

Snotify Gif


Installation

NPM 5

npm install ng-snotify

yarn

yarn add ng-snotify

Documentation and Examples

Documentation - here
Example application source - here
Auto-Documentation - here

License

MIT © artemsky

Change Log

v2.0.0

  • Breaking changes - Look migration guide
  • Features
    • Now unlimited amount of buttons.
    • New callback onInput for prompt toast
    • reduce start code amount
    • add custom animations
  • Fixes
    • rewrite components. Now more optimized. Divided into separate components.
    • Optimized for AOT build in right way.
    • rewrite documentation
    • add few test in example app
    • update dependencies
      • Auto-documentation add - Interfaces (thx @compodoc/compodoc)
      • Auto-documentation add - Default values (thx @compodoc/compodoc)

v1.4.0

v1.3.0

  • add Custom Styling - Read more
  • fix max-height collapsing closeOnClick

v1.2.0

  • add custom icons Wiki
    You can see an example of custom icon by calling Simple toast in the example app

v1.1.7

  • fix AOT compilation (#13)

v1.1.6

  • Add callback text when No button pressed (Prompt)
  • Improve documentation
  • Create wiki

v1.1.4

  • remove min-height (#11)
  • fix max-height animation
  • change 2-branches developing (develop\master) onto 1 branch (master)
  • Upgrade example app angular cli 1.0.2 -> 1.1.0
  • Upgrade yeomen generator-angular2-library 10.0.0 -> 10.2.2

v1.1.3

  • fix TruncatePipe error (#9)
  • fix box-sizing

v1.1.2

  • fix async toast (#8)
  • add truncate pipe
  • add toast titleMaxLeght and bodyMaxLeght to SnotifyConfig
  • add toast maxHeight to SnotifyOptions (#7)
  • add body to prompt type and replace input preview text wih new option placeholder of SnotifyConfig type

v1.0.0

  • First release

Keywords

FAQs

Package last updated on 11 Jul 2017

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc