Skip to content

NotifyJS plugin for Superpowers, the extensible HTML5 2D+3D game engine.

Notifications You must be signed in to change notification settings

AntarkaGame/superpowers-notifyjs-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

superpowers-nofityjs-plugin

NotifyJS plugin for Superpowers, the extensible HTML5 2D+3D game engine.

A handy wrapper for using the Web Notifications API. Notify.js aims to simplify requesting user permission and associated Web Notification API events, as well as providing a few extra callbacks and convenience methods.

Documentation

Echo notification :

var myFirstNotification = new Notify('Hi there!', {
    body: 'This is an awesome notification',
    notifyShow: function() {
        console.log('notification was shown!');
    }
});

myFirstNotification.show();

Find more here :

https://github.com/alexgibson/notify.js

Installation

Download the latest release, unzip it, rename the folder to Jquery, move it inside app/plugins/fraxken/ then restart your server.

About

NotifyJS plugin for Superpowers, the extensible HTML5 2D+3D game engine.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published