Offline State
Toggle UI elements when the user is offline or online. Groovy!
Last updated
Was this helpful?
Toggle UI elements when the user is offline or online. Groovy!
Last updated
Was this helpful?
You can use wire:offline
to display elements when Livewire detects that the user is offline.
You can also append .class
to your wire:offline
and specify a CSS class to toggle when the user is offline.
Use .remove
to specify classes you want to be removed when offline.