Closed eaglefox82 closed 3 years ago
Hey,
I have tested the package on fresh Laravel 8 installation with Laravel Sail it's working as expected.
I use the same alert code as you mentioned.
You can see the working result as image.
You can also checkout the video too. 😄
I have installed this package via Composer into my Laravel Project. However I have not successfully trigged any animation of any alert.
I have followed all install steps as details, including publishing the package via cmd
The following provides a standard model
if($currentstatus == "Y") { alert()->info('Member marked as attending', "Member has already been marked as attending")->autoclose(2000); return redirect(action('EventController@show', $r->event_id)); }
if I use the following
if($currentstatus == "Y") { Alert::info('Member marked as attending', "Member has already been marked as attending")->autoclose(2000); return redirect(action('EventController@show', $r->event_id)); }
I get the same model popupI checked the confing/sweetalert.php and found this
'animation' => [ 'enable' => env('SWEET_ALERT_ANIMATION_ENABLE', false), ],
So I set yo true and no difference. I am using Laravel 7.13.0Any help would be great