diff --git a/config/config.php b/config/config.php index d0b5cf8..5a788f3 100644 --- a/config/config.php +++ b/config/config.php @@ -15,7 +15,7 @@ ], ], 'flash' => [ - 'display_time' => 3000, + 'display_time' => 5000, 'opacity' => 0.9, 'position' => 'top center' ], diff --git a/src/Flash.php b/src/Flash.php index a7dc640..62ed5ff 100644 --- a/src/Flash.php +++ b/src/Flash.php @@ -20,9 +20,11 @@ class Flash 'message' => null, 'class' => 'info', 'closeIcon' => false, - 'displayTime' => 3000, + 'displayTime' => 5000, 'opacity' => 0.9, - 'position' => 'top center' + 'position' => 'top center', + 'compact' => false, + 'newestOnTop' => true, ]; protected $bags = [];