JavaScript Interop in Hologram

Brilliant! Any way to reference action?

# TODO: replace sigil code when event would be officially supported:
~JS/someElement.addEentListener("eventName", {hologram_action(:action_name)})/
# …
def action(name, event_params, component) do
  # Action logic here
end
1 Like