diff --git a/config/megaphone.php b/config/megaphone.php index c047eea..317c48f 100644 --- a/config/megaphone.php +++ b/config/megaphone.php @@ -46,4 +46,20 @@ * show a dot instead */ 'showCount' => true, + + /* + * "Live Component" - Will auto-update the component when new notifications appear + * Possible options: "off", "poll" + */ + 'liveComponent' => 'off', + + /* + * Live Component "poll" configuration options. + * @link https://livewire.laravel.com/docs/wire-poll + */ + 'poll' => [ + 'time' => '15s', + 'keepAlive' => false, + 'viewportVisible' => false, + ], ];