# Notification

API Documentation

Display a small message above the navbar.

# Example

This example consistently displays new notifications.

# Methods

# show(config)

Show the notification.

content (required) string HTML content of the notification.
timeout number Auto-hide delay in milliseconds.

# hide()

Hide the notification.

# isVisible(): boolean

Check if the notification is visible.

# Events

# show-notification

Triggered when the notification is shown.

# hide-notification

Triggered when the notification is hidden.