|
|
|
|
|
by recursivedoubts
963 days ago
|
|
I would prefer something more like what htmx has in hx-trigger: https://htmx.org/attributes/hx-trigger/ w/ an explicit and declarative syntax, but that attribute is fairly involved this was a brief exercise in thinking about the minimal changes necessary to HTML to support something like htmx, and unfortunately there isn't any attribute that maps to hx-trigger in the same way there is for other htmx attributes, so I resorted to the on* attributes + generalizing the submit() function on forms. |
|