CommandFusion Wiki

Documentation Resources

User Tools

Site Tools


software:modules-and-examples:slider-javascript

Differences

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

Link to this comparison view

software:modules-and-examples:slider-javascript [2015/06/05 00:02]
jarrod
software:modules-and-examples:slider-javascript [2017/03/21 22:05] (current)
jarrod
Line 3: Line 3:
  
 ===== Usage ===== ===== Usage =====
-  - Create a command in a system that you want to send. This could be a [[software:​gui-designer:​system-manager:​|loopback system]] if you don't want the command itself to send any data (just the script instead). +  - Create a command in a system that you want to send. This could be a [[software:​gui-designer:​system-manager:​system-properties#​ip-addresshostname|loopback system]] if you don't want the command itself to send any data (just the script instead). 
-  - Enter ''​[sliderval]''​ within the '​value'​ property of the command.+  - Enter ''​[sliderval]''​ within the '​value'​ property of the command. This is a special [[software:​gui-designer:​tokens|token]] that sliders can use within commands.
   - In the JavaScript property of the command, you can call any JavaScript function in your code, and use the predefined ''​data''​ variable, which will contain whatever the command'​s '​value'​ returns, which in this case is the slider value.   - In the JavaScript property of the command, you can call any JavaScript function in your code, and use the predefined ''​data''​ variable, which will contain whatever the command'​s '​value'​ returns, which in this case is the slider value.
  
software/modules-and-examples/slider-javascript.1433462559.txt.gz · Last modified: 2015/06/05 00:02 by jarrod