-
The shorthand notation for the With Alpine.prefix("data-x-"); event handlers fail: <button
data-x-cloak
data-x-show="nextBtn"
@click="revealNext()">Next</button> This is a pity as the extended syntax is not HTML5 compliant (see https://html.spec.whatwg.org/#embedding-custom-non-visible-data-with-the-data-*-attributes). |
Beta Was this translation helpful? Give feedback.
Answered by
SimoTod
Oct 6, 2021
Replies: 1 comment 3 replies
-
Attributes starting with @ are not complaints anyway at the moment the only way is to use x-bind and define directives with colons inside the Alpine data |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
doompadee
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Attributes starting with @ are not complaints anyway at the moment the only way is to use x-bind and define directives with colons inside the Alpine data