Search...
onEventUpdated( )
An event that's triggered when a Wix Event is updated.
Description
The onEventUpdated()
event handler runs when a Wix Event is updated. The received EventUpdated
object contains information about the Wix Event that was updated and metadata for the event.
Note: Backend events are not fired when previewing your site.
Syntax
function wixEvents_onEventUpdated(event: EventUpdated): void
onEventUpdated Parameters
NAME
TYPE
DESCRIPTION
event
Optional
EventUpdated
Information about the Wix Event that was updated and metadata for the event.
Returns
This function does not return anything.
Return Type:
void
Was this helpful?
onEventUpdated example
Copy Code
12 export function wixEvents_onEventUpdated(event) {3 const eventId = event.metadata.id4 const entityId = event.entity._id;5 }67