Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
README.md | 2025-07-13 | 757 Bytes | |
v4.0.6 source code.tar.gz | 2025-07-13 | 14.6 kB | |
v4.0.6 source code.zip | 2025-07-13 | 23.7 kB | |
Totals: 3 Items | 39.0 kB | 2 |
What's added?
- Added
allowOutsideClick
method with boolean type parameter "allowed" default istrue
- Added
allowEscapeKey
method with boolean type parameter "allowed" default istrue
- Allow
null
parameter type ontimer
method
Usage
For example, if you don't want to close alert on outside click, escape key and disable auto close.
:::php
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