Replies: 1 comment 2 replies
-
Try this:
Does this work? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to dynamically change the class of a button depending on a condition, in this case the condition is checking whether my variable
network-device
(a JSON string) isnull
(as in, the JSON null). I have the following code:But eww doesn't quite understand what I mean by null:
What would be the proper way to compare a JSON string to the JSON null?
Thanks in advance :)
Beta Was this translation helpful? Give feedback.
All reactions