x-bind:class.class-name=... and x-bind:style.style-name=... #1233
Replies: 3 comments 10 replies
-
|
Can you explain these some more? How would they work and what problems do they solve? |
Beta Was this translation helpful? Give feedback.
-
|
Here #1236
|
Beta Was this translation helpful? Give feedback.
-
|
I just started learning about Alpine.js, and was going to come in here to open the exact same suggestion. I am coming from the Angular world, and they have a similar syntax for settings class names: This is such a nice developer ergonomic. So far, I'm loving Alpine.js - I feel a bit of that same magic as when I first saw AngularJS. I agree with @Funlang that this would add a really nice experience. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Beta Was this translation helpful? Give feedback.
All reactions