-
-
Save faulander/703bdab9bc3d04fd9ee119aeac6b1733 to your computer and use it in GitHub Desktop.
[Call a function after htmx swap] #htmx #python #django
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
htmx.on("htmx:afterSwap", function(evt) { | |
<Function_to_call>; | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment