Post message
Description:
Using the binding engine’s post message, send a message to defined components.
{
"type": "events",
"action": "post_message",
"args": {
"query": "my-component",
"parameters": {
"message": "$data.message"
}
}
}Emit
Description:
Utilize the binding engine’s emit function to broadcast a message to any listeners that are tuned in to the specified message.
{
"type": "events",
"action": "post_message",
"args": {
"event": "perform-update",
"parameters": {
"message": "$data.message"
}
}
}