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