Notification
The notification system is auto-mounted by the Pankow plugin. Use useNotify() in Vue components or window.pankow.notify() from anywhere.
Position:
Usage
API
Plugin config
| Option | Type | Default | Description |
|---|---|---|---|
| notification.position | String | "top-center" | Position: "top-left", "top-center", "top-right", "bottom-left", "bottom-center", "bottom-right" |
useNotify() / window.pankow.notify(options)
| Option | Type | Default | Description |
|---|---|---|---|
| text | String | - | Notification message (or pass string directly) |
| type | String | null | "success", "danger", or "secondary" |
| persistent | Boolean | false | Don't auto-dismiss |
| timeout | Number | 2000 | Auto-dismiss delay in ms |
