Notification

The notification system is auto-mounted by the Pankow plugin. Use useNotify() in Vue components or window.pankow.notify() from anywhere.

Raise
Raise Danger
Raise Success
Raise Secondary
Persistent

Position:

top-left
top-center
top-right
bottom-left
bottom-center
bottom-right

Usage

API

Plugin config

OptionTypeDefaultDescription
notification.positionString"top-center"Position: "top-left", "top-center", "top-right", "bottom-left", "bottom-center", "bottom-right"

useNotify() / window.pankow.notify(options)

OptionTypeDefaultDescription
textString-Notification message (or pass string directly)
typeStringnull"success", "danger", or "secondary"
persistentBooleanfalseDon't auto-dismiss
timeoutNumber2000Auto-dismiss delay in ms