ITeye博客

extjs中XTemplate表达式的用法

fourfire · 2009-07-18 12:25 · extjs · Markdown

1 嵌入函数


new Ext.XTemplate('<tpl if="isSameUnit(a,b,c)==true">'.</tpl>..,{
				isSameUnit : function(unit1, unit2, unit3) {
					return ((unit1 == unit2) && (unit1 == unit3));
				}
			}
)

2 '' + '' + ''+

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。