Centro de notificaciones

Panel de notificaciones con icono de campana, contador de insignia, estados leído/no leído y funcionalidad de marcar como leído. Incluye cierre al hacer clic fuera, soporte de tecla Escape y emisión de eventos.

Vista Previa y Código

Opciones

Nombre Tipo Predeterminado Descripción
notifications * Array requerido Array of notification hashes with :id, :title, :message, :time, :read, :avatar, :href, :type
unread_count Integer Badge count (auto-calculated if omitted)
empty_text String "No notifications" Text shown when no notifications
mark_all_label String "Mark all as read" Label for mark all as read button

Registro de Cambios v1.0.0

- Initial release with bell trigger, notification panel, read/unread states
- Mark individual and mark all as read
- Click-outside and Escape to close

Obtener Acceso Completo

Desbloquea el código fuente de este componente y todos los demás. Un solo pago para acceso de por vida.

Obtener Acceso