override public function render(){var sList:String = this.getListString();return jsx('<div style={{margin:"10px", border:"black 2px solid"}}>${/* sList */}</div>');}private function getListString():String{var result:String = '';for (i in 0 ... 10) {result += ('<div>'+i+'</div>');}return ('<div style={{margin:"10px", border:"black 2px solid"}}>'+result+'</div>');}
override public function render(){var aList = this.getListArray();
return jsx('<div style={{margin:"10px", border:"black 2px solid"}}>
<h3>ViewList</h3>${/* aList */}</div>');}private function getListArray(){var aResult = [];
for (i in 0 ... 10) {
aResult.push( jsx('<div style={{margin:"10px", border:"#6666FF 1px solid"}}>${/* i */}</div>') );
--
To post to this group haxe...@googlegroups.com
http://groups.google.com/group/haxelang?hl=en
---
You received this message because you are subscribed to the Google Groups "Haxe" group.
For more options, visit https://groups.google.com/d/optout.