I’m testing wire:offline but I can’t make it trigger to disabel the button or show the offline message.
I’m testing it on valet locally in Firefox Developer Edition.
I tested it with two code snippets:
<button wire:offline.attr="disabled" class="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded">Test Button</button>
and
<div wire:offline>
<span style="color:red">No Internet Connection <i class="fas fa-plug" style="-webkit-transform:rotate(90deg); transform:rotate(90deg);"></i></span>
</div>
and then pulling the lan cable to disable the internet connection.
Thanks in advance.