Module query_helper
Source - HTMLQueries
- HTMLQueries has three queries:
- Queries
- Container for all queries. This struct can be cloned and used in other threads.
It doesn’t contain state about previous results of query.
- HTMLQuery
- HTML can have multiple query types.
- HtmxQuery
- HtmxQuery
- find_hx_lsp
HX_HTML- query_htmx_lsp
- Capture all tags(if any is found) that matches
tag_name parameter. - query_name
- Query only attribute name. Can be used in testing.
- query_props
- Capture all query results. No duplicates, except when searching for hx_comment.
- query_tag
- Query for htmx tags on backend/javascript.
- query_value
- Query for attribute values. Can be used for testing.