Loading States
Show your users loading spinners, modals, and more as they wait for requests to complete.
Toggling Elements
<cfscript>
function addTask(){
sleep( 5000 ); // Optimize this code yo!
}
</cfscript><cfoutput>
<div>
<button wire:click="addTask">Add Task</button>
<div wire:loading>
Adding Task...
</div>
</div>
</cfoutput>
<cfscript>
function addTask(){
sleep( 5000 ); // Optimize this code yo!
}
</cfscript>Toggling Attributes
Targeting Specific Actions
Delaying
Display Property
Hiding
Last updated