Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * @param tag Tag of the notification
- * @param title Title of the notification
- * @param body Body of the notification
- * @deprecated Use the W3C standard window.Notification API instead.
- */
- NotificationMessenger.prototype.notify = function(tag, title, body, flag) {
- if (window.Notification) {
- this.activeNotification = new window.Notification(title, {
- body: body,
- flag: flag,
- tag: tag
- });
- }
- }
- window.plugins.statusBarNotification.notify("11", "Put your title here", "Put your message here");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement