Appearance
useNotifications
ts
import { useNotifications } from 'notivue'
Returns an object of two computed properties:
entries
- Computed array of all current displayed notificationsqueue
- Computed array of all enqueued notifications
Interfaces
ts
declare function useNotifications(): NotivueComputedEntries
interface NotivueComputedEntries {
entries: ComputedRef<NotivueItem[]>
queue: ComputedRef<NotivueItem[]>
}