Replies: 1 comment
-
|
I like this idea, maybe not exactly this implementation since I feel is too verbose having the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I couldn't find a html only, declarative way for loading buttons. Suppose, we'd like to disable button and change its text during the request. I've looked at:
hx-indicator, but it seems to require splitting logic between html and cssSo I ended up with a simple extension and I wonder if it has some flaws or could be included into official extensions. Here's the syntax:
Simple disable a control:
Change control and possible way by simple swapping it:
Here's the code:
Beta Was this translation helpful? Give feedback.
All reactions