htmx 1.9.0 (2023-04-11) ยถ
Whatโs Changed ยถ
-
Remove reference to Python 2 in README.md by @pdelboca in #1321
-
Added an example project for FastAPI by @AutomationPanda in #1335
-
Add support for โnakedโ triggers and htmx:trigger event by @alexpetros in #1327
-
Fix for memory leak by @croxton in #1330
-
Update hx-target relative positional expressions by @kijowski in #1251
-
Normalize history cache keys - redux by @croxton in #1338
-
Escape colon characters in querySelector by @Nicals in #1314
-
Trigger event when a SSE-source is opened by @hirschenberger in #1331
-
Eleventy +Zola by @danieljsummers in #1332
-
Replaced website search with Google, similar to hyperscript.org. Removed anemic Algolia, docsearch. by @gnat in #1342
New Contributors ยถ
-
@pdelboca made their first contribution in #1321
-
@AutomationPanda made their first contribution in #1335
-
@alexpetros made their first contribution in #1327
-
@kijowski made their first contribution in #1251
-
@Nicals made their first contribution in #1314
-
@hirschenberger made their first contribution in #1331
Video ยถ
-
https://www.youtube.com/watch?v=jFOBt20mZGI (hx-on Attribute for Responding to Events)
A look at the new HTMX 1.9 hx-on attribute that allows inline handling of events that occur on the page.
Weโll look at:
-
Handling simple events such as โclickโ and โmouseoverโ
-
Handling HTMX events such as htmx:afterRequest and htmx:afterSettle
-
Calling a custom JavaScript function from the attribute
-
Handling a custom event triggered by Django and the HX-Trigger header
๐ ๐๐๐ฟ๐๐ต๐ฒ๐ฟ ๐ฟ๐ฒ๐ฎ๐ฑ๐ถ๐ป๐ด ๐ฎ๐ป๐ฑ ๐ถ๐ป๐ณ๐ผ๐ฟ๐บ๐ฎ๐๐ถ๐ผ๐ป: ยถ
-
HTMX Events: https://htmx.org/events/