Topic cluster

User interface and interaction

Presenting information and supporting actions in public pages and administration screens.

View topic page

5 items

The remaining keywords do not make a useful further split. All matching documentation is listed below.

Notifications

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}

Notifications

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…

Notifications

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()