Search...
onEventReminder( )
An event that's triggered when a certain amount of time is left until the event. In total there are 6 reminders:
- 7 days
- 3 days
- 1 day
- 2 hours
- 1 hour
- 30 minutes
Description
The onEventReminder()
event handler runs when a certain amount of time is left until the event. The received EventReminder
object contains information about the reminder and metadata for the event.
Note: Backend events are not fired when previewing your site.
Syntax
function wixEvents_onEventReminder(event: EventReminder): void
onEventReminder Parameters
NAME
TYPE
DESCRIPTION
event
Optional
EventReminder
Information about the Wix Event reminder and metadata for the event.
Returns
This function does not return anything.
Return Type:
void
Was this helpful?
onEventReminder example
Copy Code
12 export function wixEvents_onEventReminder(event) {3 const eventId = event.metadata.id4 const entityId = event.data.event._id;5 }67