Created
April 3, 2021 11:52
-
-
Save 1cg/f9e04c3ef44bbe958181ddf706265a98 to your computer and use it in GitHub Desktop.
This file contains 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
<div ... | |
_="on htmx:configRequest(parameters) | |
set parameters['description'] to my innerHTML | |
on click | |
if my innerHTML is 'Click to edit description' | |
put '' into me | |
on blur | |
if my innerHTML is '' | |
put 'Click to edit description' into me" | |
...> | |
... | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment