We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Would love to have default support to "refresh" the hincluded section based on an event.
For example:
window
something_clicked
src
This can be very usefull when working with session specific data, like a cart, etc.
The hinclude tag could be something like
<hx:include src="/remote.html" data-on="window.something_clicked">Loading...</hx:include>
You can make it a "rule" that the "on" attribute must exists of [css-selector].[event-name]
[css-selector].[event-name]
So next data-on attributes are valid:
data-on
data-on="#my-container.refresh"
data-on=".container.my-custom-event"
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Would love to have default support to "refresh" the hincluded section based on an event.
For example:
window
event called:something_clicked
src
attributeThis can be very usefull when working with session specific data, like a cart, etc.
The hinclude tag could be something like
You can make it a "rule" that the "on" attribute must exists of
[css-selector].[event-name]
So next
data-on
attributes are valid:data-on="#my-container.refresh"
data-on=".container.my-custom-event"
The text was updated successfully, but these errors were encountered: