/javascript-mode/extjs_localcombo
http://github.com/ridgetang/snippets · #! · 20 lines · 20 code · 0 blank · 0 comment · 0 complexity · c6c9f572ab97e8ebcd829b878b87a9ad MD5 · raw file
- # name : localcombo
- # key : localcombo
- # group : extjs
- # contributor : crazycode@gmail.com
- # This was cloned from a TextMate bundle for yasnippet.
- # --
- {
- xtype: 'combo',
- mode: 'local',
- triggerAction: 'all',
- forceSelection: true,
- editable: false,
- anchor: "-20",
- fieldLabel: '${1:Label}',
- name: '${2:${1/(.*)/\l$1/}}',
- hiddenName: '${2:${1/(.*)/\l$1/}}',
- displayField: '${3:name}',
- valueField: '${4:value}',
- store: ${5:store}
- }