New
v4.0.6
What's added?
- Added
allowOutsideClickmethod with boolean type parameter "allowed" default istrue - Added
allowEscapeKeymethod with boolean type parameter "allowed" default istrue - Allow
nullparameter type ontimermethod
Usage
For example, if you don't want to close alert on outside click, escape key and disable auto close.
LivewireAlert::question()
->title("Are you sure do you want to approve proposal?")
->allowOutsideClick(false) // new method
->allowEscapeKey(false) // new method
->timer(null) // You can pass null now instead of only integer and that disables auto closing
Full Changelog: https://github.com/jantinnerezo/livewire-alert/compare/4.0.5...v4.0.6