Topic cluster
Notification
A typed event or request exchanged between decoupled Zotonic components through the notifier.
View topic page5 items
The remaining keywords do not make a useful further split. All matching documentation is listed below.
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}
observe_auth_client_logon_user/2
Send a request to the client to login a user. The zotonic.auth.worker.js will
observe_auth_client_switch_user/2
Send a request to the client to switch users. The zotonic.auth.worker.js will
observe_postback_notify/2
Handle a javascript notification from the postback handler. The message is the the request, trigger the id of the element which triggered the postback, and target the id of the element which should receive possible…
observe_scomp_script_render/2
Add extra javascript with the {% script %} tag. (map) Used to let modules inject extra javascript depending on the arguments of the {% script %} tag. Must return an iolist()