ambitious-knife-25690
04/11/2019, 3:00 PMbright-gpu-74537
04/12/2019, 6:25 AMbright-gpu-74537
04/12/2019, 6:25 AMbright-gpu-74537
04/12/2019, 6:27 AMcool-psychiatrist-49311
04/12/2019, 9:13 AMcool-psychiatrist-49311
04/12/2019, 9:13 AMbitter-family-72722
04/12/2019, 9:16 AMbitter-family-72722
04/12/2019, 9:16 AMcool-psychiatrist-49311
04/12/2019, 10:29 AMcool-psychiatrist-49311
04/12/2019, 10:31 AMbitter-family-72722
04/12/2019, 10:48 AMcool-psychiatrist-49311
04/12/2019, 11:01 AMcool-psychiatrist-49311
04/12/2019, 11:03 AMbitter-family-72722
04/12/2019, 1:04 PMbitter-family-72722
04/12/2019, 1:05 PMbitter-family-72722
04/12/2019, 1:05 PMbright-gpu-74537
04/12/2019, 1:35 PMbright-gpu-74537
04/12/2019, 1:36 PMbright-gpu-74537
04/12/2019, 1:36 PM@:xml("
<hbox>
<button id='button1' text='Button 1' />
<button id='button2' text='Button 2' />
<button id='button3' text='Button 3' />
</hbox>
")
class Test1 extends Box {
@:bind(button1.text) public var button1Text:String = "bobbbby!";
@:bind(button2.text) public var button2Text:String;
@:bind(button3.text) public var button3Text:String;
public function new() {
super();
button3Text = "Changed!";
}
@:bind(button1, MouseEvent.CLICK)
public function onButton1Click(e:UIEvent) {
button2Text = "Changed!";
}
}
bitter-family-72722
04/12/2019, 2:15 PMbitter-family-72722
04/12/2019, 2:16 PMbright-gpu-74537
04/12/2019, 2:17 PMbright-gpu-74537
04/12/2019, 2:17 PMbright-gpu-74537
04/12/2019, 2:18 PMbright-gpu-74537
04/12/2019, 2:18 PMbright-gpu-74537
04/12/2019, 2:18 PMbright-gpu-74537
04/12/2019, 2:19 PMprivate static function fn(a:Array<ModuleType>) {
trace(a.length);
if (gen == true) {
return;
}
var c = macro class TestClass {
public function new() {
}
public var x:Int = 101;
}
;
Context.defineType(c);
gen = true;
}
bright-gpu-74537
04/12/2019, 2:19 PMbright-gpu-74537
04/12/2019, 2:19 PMcool-psychiatrist-49311
04/12/2019, 2:23 PM