通知センター

バッジカウント、既読/未読状態、既読マーク機能を備えたベルアイコン通知パネル。 外部クリックで閉じる、Escapeキー対応、イベントディスパッチを含みます。

プレビュー & コード

オプション

名前 デフォルト 説明
notifications * Array 必須 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

変更履歴 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

フルアクセスを取得

このコンポーネントと他のすべてのソースコードをアンロックしましょう。一回のお支払いで永久アクセス。

今すぐアクセスを取得