progress-notification

0.0.3 • Public • Published

ProgressNotification

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

progress notification component

Installation

$ component install component/progress-notification

Features

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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.31latest

Version History

VersionDownloads (Last 7 Days)Published
0.0.31
0.0.20
0.0.10

Package Sidebar

Install

npm i progress-notification

Weekly Downloads

1

Version

0.0.3

License

none

Last publish

Collaborators

  • tjholowaychuk