文章列表
<canvas width="800" debug="true"> <class name="downloadgrid"
datapath="" width="510" height="200"> <view name="bg"
width="$once{parent.width}" height="$once{parent.height}"
bgcolor=&q ...
<canvas debug="true" ><dataset name="ds" >
<root> <node text="Tab 1" /> <node text="Tab 2"
/> <node text="Tab 3" /> <node text="Tab 4"
/> <node text="Tab 5&q ...
<!-- 始终绑定实例
从这个例子可以看出,列表的内容完全由dataset的数据生成的,而且在编译的时候就已经数据和list组件绑定在一起了,即通过list的datapath="ds1:/*"来绑定到数据集ds1上。--><canvas
width="800" height="600" debug="true" fontsize="12"> <dataset
name="ds1"> <root> ...
<canvas width="780" height="700"> <view width="300"
height="300" bgcolor="red" name="viewTest"><method
event="oninit"> var contextMenu = new LzContextMenu(); var
addItem =contextMenu.makeMenuItem('添 ...
语法开关 <switch> <when runtime="dhtml">
//runtime运行条件 </when>
<otherwise> <silverstyle name="silvercolors"/>
//使用样式表 <greenstyle name="greencolors"/>
<bluestyle name ...