haXe API Documentation
Back | Index
extern class js.html.Notification
extends EventTarget
Available in js

Mobile Only in Gecko 2.0

Available only in Firefox Mobile as of Gecko 2.0 (Firefox 4 / Thunderbird 3.3 / SeaMonkey 2.1)

Non-standard

The notification object, which you create using the navigator.mozNotification  object's createNotification() method, is used to configure and display desktop notifications to the user.



Documentation for this class was provided by MDN.

var dir : String
var onclick : EventListener
 A function to call when the notification is clicked.
var onclose : EventListener
 A function to call when the notification is dismissed.
var ondisplay : EventListener
var onerror : EventListener
var onshow : EventListener
var permission(default,null) : String
var replaceId : String
var tag : String
function new() : Void
function cancel() : Void
function close() : Void
function show() : Void
static function requestPermission(callback_ : NotificationPermissionCallback) : Void
Back | Index