permission property
NotificationPermission
get
permission
The permission
read-only static property of the Notification
interface indicates the current permission granted by the user for the
current origin to
display web notifications.
Implementation
external static NotificationPermission get permission;