1.2.2 • Published 7 years ago

elnotifier v1.2.2

Weekly downloads
1
License
ISC
Repository
github
Last release
7 years ago

elnotifier

A node module for sending notifications in electron applications.

screenshot

##install npm install elnotifier --save

Quick Usage

const notifier = require('elnotifier')

// Just title and content
notifier.notify('Notification', {
    message: 'Event begins in 10 minutes3'
});

Introduction

When you create a new notification, your notification is queued, since we only display one at a time. You get a BrowserWindow instance back from the call.

Clicked

When the notification was clicked, but not dragged. This usually does the default action, or closes the notification.

const notification = notifier.notify('Calendar')

notification.on('clicked', () => {
  notification.close()
})
1.2.2

7 years ago

1.2.1

7 years ago

1.2.0

7 years ago

1.1.3

7 years ago

1.1.2

7 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.0

8 years ago