Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
interaction:axure_api [2018/03/05 15:55]
sam
interaction:axure_api [2018/09/24 13:40] (current)
Line 4: Line 4:
 ====== Axure Javascript API ====== ====== Axure Javascript API ======
  
-This page documents the unofficial Axure 8 Javascript API. Use this information at your own risk.+This page documents the unofficial Axure 8 Javascript API. Use this information at your own risk. Axure 9 is out in a beta version. Expect some changes to the javascript API. A quick test indicate it is not that different from Axure 8.
  
 ====== $axure ====== ====== $axure ======
Line 242: Line 242:
 ===== $axure(query).enabled([value:​ boolean]) ===== ===== $axure(query).enabled([value:​ boolean]) =====
  
-I have not explored what this function ​do, but I guess it can be used to read/write the disabled state of a widget. The disabled state of a widget can be used to much more than make the widget look disabled. See it as a possibility to switch between two "​appearances"​ of a widget. Maybe one day you can specify a range of "​appearances"​ of a widget...+This function ​does not work for text fields (and maybe other widget ​types). For a text field it always returns "​true"​. 
 + 
 +The disabled state of a widget can be used to much more than make the widget look disabled. See it as a possibility to switch between two "​appearances"​ of a widget. Maybe one day you can specify a range of "​appearances"​ of a widget...
  
 ===== $axure(query).expanded([value:​ boolean]) ===== ===== $axure(query).expanded([value:​ boolean]) =====