webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
Notification Interface Reference

import"Notification.idl";

Inheritance diagram for Notification:
EventTarget

Public Member Functions

void show ()
 
void cancel ()
 
void close ()
 
- Public Member Functions inherited from EventTarget
void addEventListener ([AtomicString] DOMString type, EventListener? callback, optional(AddEventListenerOptions or boolean) options=false)
 
void removeEventListener ([AtomicString] DOMString type, EventListener? callback, optional(EventListenerOptions or boolean) options=false)
 
boolean dispatchEvent (Event event)
 

Static Public Member Functions

static void requestPermission (optional NotificationPermissionCallback? callback)
 

Public Attributes

attribute EventHandler onclick
 
attribute EventHandler onclose
 
attribute EventHandler ondisplay
 
attribute EventHandler onerror
 
attribute EventHandler onshow
 
attribute DOMString dir
 
attribute DOMString replaceId
 
attribute DOMString tag
 

Static Public Attributes

static readonly attribute DOMString permission
 

Member Function Documentation

◆ cancel()

void Notification::cancel ( )

◆ close()

void Notification::close ( )

◆ requestPermission()

static void Notification::requestPermission ( optional NotificationPermissionCallback callback)
static

◆ show()

void Notification::show ( )

Member Data Documentation

◆ dir

attribute DOMString Notification::dir

◆ onclick

attribute EventHandler Notification::onclick

◆ onclose

attribute EventHandler Notification::onclose

◆ ondisplay

attribute EventHandler Notification::ondisplay

◆ onerror

attribute EventHandler Notification::onerror

◆ onshow

attribute EventHandler Notification::onshow

◆ permission

readonly attribute DOMString Notification::permission
static

◆ replaceId

attribute DOMString Notification::replaceId

◆ tag

attribute DOMString Notification::tag

The documentation for this interface was generated from the following file: