Replies: 3 comments
-
|
This alternative works fine: |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
The issue is pretty clear in your error, you are using incorrect |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
I am definitely NOT using wrong quotes, that's only the error that is being produced. As I mentioned, if I just change |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am trying to conditionally set an element to open or closed based on whether the user is on a mobile device or not.
This is the HTML code:
The above code produces the following error:
If I change the x-init directive to x-init="open = true", the error then disappears and the code runs smoothly.
Beta Was this translation helpful? Give feedback.
All reactions