Download Latest Version v4.0.6 source code.tar.gz (14.6 kB)
Email in envelope

Get an email when there's a new version of Livewire Alert

Home / v4.0.6
Name Modified Size InfoDownloads / 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 is true
  • Added allowEscapeKey method with boolean type parameter "allowed" default is true
  • Allow null parameter type on timer 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

Source: README.md, updated 2025-07-13