Answers for "multiple ternary in vuejs"

1

multiple ternary in vuejs

You can paste it in "" or {{}} (in html or as text/html)

(test1 == 1) ? then1 : (test2 == 2) ? then2 : thenglobal

Test 1 will be cheked and then1 executed if true and same for test 2, it will
repeat until it reaches the end.

You can repeat this ∞
Posted by: Guest on September-13-2021

Code answers related to "multiple ternary in vuejs"

Browse Popular Code Answers by Language