2 ms·
we are working on supporting _hs files and you can write event handlers against other elements: on click from #some-btn log 'The button was clicked' en
by recursivedoubts 6y ago
we are working on supporting _hs files and you can write event handlers against other elements:
on click from #some-btn
log 'The button was clicked'
end
However, we really lean towards directly embedding the scripts on HTML elements for Locality of Behaviour https://htmx.org/essays/locality-of-behaviour/ https://htmx.org/essays/locality-of-behaviour/