Accessing HTMX's Query Syntax #2433
Unanswered
jonedmiston
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In my own JavaScript I would like to be able to run the same queries that the
hx-include
supports (e.g. 'closest ', 'find ', etc.). Is there a public API for that? Seems like I'd need access to thequerySelectorAllExt
function.Would also be nice to have access to the inheritance logic which I would think would be the function
findAttributeTargets
Any thoughts of a way to achieve this today? Think it could/would be supported in the future?
Beta Was this translation helpful? Give feedback.
All reactions