Central de notificações

Painel de notificações com ícone de sino, contagem de emblemas, estados lido/não lido e funcionalidade de marcar como lido. Inclui fechamento ao clicar fora, suporte à tecla Escape e despacho de eventos.

Pré-visualização e Código

Opções

Nome Tipo Padrão Descrição
notifications * Array obrigatório 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

Changelog 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

Obter Acesso Completo

Desbloqueie o código-fonte deste componente e de todos os outros. Pagamento único para acesso vitalício.

Obter Acesso Agora