htmx
htmx copied to clipboard
Support hyperscript in hx-target when hyperscript is installed
I'd like to be able to traverse up the nodes to an ancestor node and then back down:
<button class="btn btn-link muted" hx-get="{{comment_edit_url}}"
hx-target=".comment-body in closest .comment-panel"
>
Edit
</button>
It's possible with hyperscript...maybe support hyperscript in hx-target when it's installed?