User Tools

Site Tools


widget

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
widget [2020/12/01 16:58]
justin
widget [2021/04/21 20:24] (current)
justin
Line 15: Line 15:
 hide_widget("test"); hide_widget("test");
 $name = widget["test"].element["0001"].text; $name = widget["test"].element["0001"].text;
-display_message("Hello, " + $name + "!")+display_message("Hello, " + $name + "!");
 </code> </code>
  
 This script will change the text of the [[button]] to "New Text". This script will change the text of the [[button]] to "New Text".
 <code bauxite> <code bauxite>
-widget["test"].element["0002"].text = "New Text"+widget["test"].element["0002"].text = "New Text";
 </code> </code>
  
 ~~NOTOC~~ ~~NOTOC~~
widget.txt ยท Last modified: 2021/04/21 20:24 by justin