mckenziearts / laravel-notify

Flexible Flash notifications for Laravel
Other
1.62k stars 189 forks source link

Question about self-closing #37

Closed Kacimi-Amine closed 3 years ago

Kacimi-Amine commented 4 years ago

hi , thank you for this awesome package, please i wanted to know if there is a timer to add to have the self-closing of the alert ...

mckenziearts commented 4 years ago

I plan to add it to the next release

labomatik commented 3 years ago

it can be handled with something like this in the blade notification file: x-init="setTimeout(() => { show = true }, 500);setTimeout(() => { show = false }, 5500)"

omaisali commented 3 years ago

it can be handled with something like this in the blade notification file: x-init="setTimeout(() => { show = true }, 500);setTimeout(() => { show = false }, 5500)"

didn't work for me i need to replace with <x:notify-messages /> ?

omaisali commented 3 years ago

I plan to add it to the next release

Waiting ... :)

kriiv commented 3 years ago

I plan to add it to the next release

This would be great!

mckenziearts commented 3 years ago

New version released last saturday. More detail here https://github.com/mckenziearts/laravel-notify/releases/tag/v2.2