User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
en:template:boolean_variables [2016/08/11 09:47]
Nicolas Ronvel created
en:template:boolean_variables [2017/06/22 11:16] (current)
Nicolas Ronvel
Line 7: Line 7:
 <code javascript>​ <code javascript>​
 "​canvasFields":​ [ "​canvasFields":​ [
-    {"​type":"​rect",​ "​width":​ 330, "​height":​40,​ "​left":​5,​ "​top":​450,​ "​fill":"#​B1E29E",​ "​stroke":"#​000000", "​visible":​ "?​isDisplayed"},+    {"​type":"​rect", "​visible":​ "?​isDisplayed", "​width":​ 330, "​height":​40,​ "​left":​5,​ "​top":​450,​ "​fill":"#​B1E29E",​ "​stroke":"#​000000"​},​
 ] ]
 </​code>​ </​code>​
 +==== Not value ====
 +What if you need to get the inverse result of the checkbox ? Then, you can add the code ''?​!isNot''​ to get the inverse result. If your checkbox ''​isNot''​ is checked, it will return ''​false''​.
en/template/boolean_variables.1470901660.txt.gz · Last modified: 2016/08/11 09:47 by Nicolas Ronvel