/javascript-mode/extjs_dataview
http://github.com/ridgetang/snippets · #! · 21 lines · 21 code · 0 blank · 0 comment · 0 complexity · 93c20270e9183fd88512281a7c4c7a76 MD5 · raw file
- # name : define dataview
- # key : dataview
- # group : extjs
- # contributor : crazycode@gmail.com
- # This was cloned from a TextMate bundle for yasnippet.
- # --
- {
- xtype: 'dataview',
- emptyText: '${1:No items to display}',${2:
- singleSelect: ${3:true},}${4:
- autoHeight: true,}${5:
- autoScroll: true,
- overClass: '${6:x-view-over}',}${7:
- itemSelector: '${8:div.thumb-wrap}',}
- store: ${9:store}${10:,
- tpl: ${11:new ${12:Ext.XTemplate}(
- '<tpl for=".">',
- $0
- '</tpl>'
- )}}
- \}