Actions
The magic sauce. Actions allow you to easily listen to page interactions and call a method on your Wires.
component extends="cbwire.model.Component"{
// Actions
function addTask(){
queryExecute( ... );
}
}<!--- Template --->
<div>
<button wire:click="addTask">Add Task</button>
</div>Invoking Actions
Event
Directive
Passing Parameters
Return Values
Accessing Data Properties
Accessing Computed Properties
Magic Actions
Function
Description
Last updated
Was this helpful?