scxml-send: a transition label is about to send its event. Cancelable (preventDefault() stops it). Listeners may set data: it's sent as the event's data (it starts as the value from the event-data attribute).
scxml-send
preventDefault()
data
event-data
Optional
the event data to send; writable
the event name
the session the event goes to
scxml-send: a transition label is about to send its event. Cancelable (preventDefault()stops it). Listeners may setdata: it's sent as the event's data (it starts as the value from theevent-dataattribute).