Feedback & overlays
Notifications
The popover under the bell, with a tab per category and a row per notification.
import { EcoNotifications } from "vue-ecosphere"
Notifications
Open the bell. Switch categories, click a row to mark it read, or mark them all.
API
| Name | Type | Default | Description |
|---|---|---|---|
items | EcoNotification[] | — | { id, title, text?, date?, unread?, kind?: 'reply' | 'fup' | 'err' | 'sys', icon?, category?, section? }. |
tabs | EcoNotificationTab[] | [] | { key, label, count? }. key 'all' groups every row under its category's label; other tabs group by section. |
v-model:open | boolean | false | notif.is-open. The bell toggles it; Escape and an outside click close it. |
v-model:tab | string | "all" | The selected category tab (arrow keys move between tabs). |
title / markAllLabel / viewAllLabel / bellLabel | string | — | Header, “Mark all as read”, the footer link (empty hides it) and the bell's accessible name. |
#trigger | slot { attrs, open, toggle } | — | Replace the bell icon button. |
@select / @mark-all / @view-all | events | — | A row was clicked; the header link; the footer link. |