Properties

This section describes the properties associated with the Web Notifications API.

In this section

TopicDescription

body

Returns the body text of a Notification.

dir

Returns the direction of the Notification's text.

icon

Returns a Notification's URL that is used for its icon.

lang

Returns the language of a Notification.

permission

Returns the current Notification display permission the user has granted for the current origin.

tag

Returns the tag of a Notification.

title

Returns the title of the Notification.

 

 

 

Show: