...
Instead of: | Do: |
---|---|
#variable1.show(#myVar1==1); | var myResult = #myVar1==1 ? true : false; |
#variable11.show(#myVar2==1); | var myResult2=#myVar2; |
Utilize global variables
Info |
---|
A global variable can be used if a large number of variables are being hidden or disabled based on one condition |
...
Instead of: | Do: |
---|---|
function main() { | var areVarsShown=true; |
...