API ReferenceGlobalsNotification

# Interface: Notification

# Hierarchy

  • Notification

# Index

# Properties

# Methods

# Properties

# actions

actions: ReadonlyArray‹NotificationAction

Defined in packages/workers/src/service-worker.d.ts:56


# renotify

renotify: boolean

Defined in packages/workers/src/service-worker.d.ts:60


# requireInteraction

requireInteraction: boolean

Defined in packages/workers/src/service-worker.d.ts:57


# silent

silent: boolean

Defined in packages/workers/src/service-worker.d.ts:58


# tag

tag: string

Defined in packages/workers/src/service-worker.d.ts:59


# timestamp

timestamp: number

Defined in packages/workers/src/service-worker.d.ts:61


# title

title: string

Defined in packages/workers/src/service-worker.d.ts:62


# vibrate

vibrate: ReadonlyArray‹number›

Defined in packages/workers/src/service-worker.d.ts:63

# Methods

# close

close(): void

Defined in packages/workers/src/service-worker.d.ts:64

Returns: void


# requestPermission

requestPermission(): Promise‹string›

Defined in packages/workers/src/service-worker.d.ts:65

Returns: Promise‹string›