Skip to main content
Access via:io.notifications.panel

API for controlling the Notification Panel.

5 Methods

hide()⚓︎

() => Promise<void>

Hides the Notification Panel.

isVisible()⚓︎

() => Promise<boolean>

Checks whether the Notification Panel is visible.

onVisibilityChanged()⚓︎

(callback: (isVisible: boolean) => any) => UnsubscribeFunction

Notifies when the visibility of the Notification Panel changes.

Parameters (1)

Name Type Required Description
callback⚓︎ (isVisible: boolean) => any

Callback function for handling the event.

show()⚓︎

() => Promise<void>

Shows the Notification Panel.

toggle()⚓︎

() => Promise<void>

Toggles the visibility of the Notification Panel.