observe_action_event_type/2
Render the javascript for a custom action event type. The custom event type must be a tuple, for example: {% wire type={live id=myid} action={...} %}</code> Must return {ok, Javascript, Context}
Type:
Return:
#action_event_type{} properties:
- event:
tuple - trigger_id:
string - trigger:
string - postback_js:
iolist - postback_pickled:
string|binary - action_js:
iolist