Socket
Book a DemoInstallSign in
Socket

progress-notification

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

progress-notification

Progress notification component

latest
npmnpm
Version
0.0.3
Version published
Maintainers
1
Created
Source

ProgressNotification

Progress notification component with a clean slate to build off of.

progress notification component

Installation

$ component install component/progress-notification

Features

  • all the features of notification

Example

var notify = require('progress-notification');

var progress = notify('Uploading maru.png');
var n = 0;
setInterval(function(){
  progress.update(n++);
}, 50);

API

notify(msg)

Notify with the given msg and no title.

notify(title, msg)

Notify with the given msg and title.

ProgressNotification#update(n)

Update percentage to n.

ProgressNotification#size(n)

Update progress indicator size to n.

License

MIT

Keywords

progress

FAQs

Package last updated on 13 Sep 2012

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