Actions
Methods that are invoked based on user interactions.
<cfscript>
data = {
"currentTime" : now()
};
function updateTime() {
data.currentTime = now();
}
</cfscript>
<cfoutput>
<p>
Current time: #currentTime#
</p>
<button wire:click="updateTime">Update</button>
</cfoutput>Running Actions
Event
Directive
Passing Parameters
Magic Actions
Action
Description
Refresh
Last updated