Notification Tutorial

This tutorial demonstrates how to create a new notification.

Notifications are popup messages that can display a brief message.

Example

Usage

You can spawn a notification using:

core.make('osjs/notification', {
  message: 'Hello World',
  icon: 'icon.src',
  onclick: () => console.log('Clicked!')
})
OS.js Web Desktop - © Anders Evenrud <andersevenrud@gmail.com>

results matching ""

    No results matching ""