PageRenderTime 101ms CodeModel.GetById 40ms app.highlight 1ms RepoModel.GetById 39ms app.codeStats 0ms

/javascript-mode/extjs_dataview

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