Time for an 2014 update…
This commit is contained in:
parent
372c577f83
commit
09687c4926
2520 changed files with 34227 additions and 7318 deletions
|
|
@ -4,11 +4,11 @@ import dojo.widgets.*;
|
|||
handler HelloWorld type RUIhandler{initialUI =[ui]}
|
||||
|
||||
ui Box {columns=1, children=[nameField, helloLabel, goButton]};
|
||||
|
||||
|
||||
nameField DojoTextField {placeHolder = "What's your name?", text = "World"};
|
||||
helloLabel TextLabel {};
|
||||
goButton DojoButton {text = "Say Goodbye", onClick ::= onClick_goButton};
|
||||
|
||||
|
||||
function onClick_goButton(e Event in)
|
||||
helloLabel.text = "Goodbye, " + nameField.text + "!";
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue