Replies: 2 comments 2 replies
-
It already exists: x-bind:style (or :style if you prefer the short version). https://alpinejs.dev/directives/bind#binding-styles Likewise, x-bind:data-whatever (or : data-whatever). |
Beta Was this translation helpful? Give feedback.
2 replies
-
both already exist. |
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
-
x-style and Setting the ‘data-xx’ attribute
Beta Was this translation helpful? Give feedback.
All reactions