Search.../

onPostReacted( )

Developer Preview

An existing post was reacted.

Syntax

function onPostReacted(event: PostReacted): void

onPostReacted Parameters

NAME
TYPE
DESCRIPTION
event
Optional
PostReacted

Returns

This function does not return anything.

Return Type:

void

Was this helpful?

onPostReacted example

Copy Code
1
2 export function wixForum_onPostReacted(event) {
3 const eventId = event.metadata.id
4 const entityId = event.data.post._id;
5 }
6
7