PageRenderTime 12ms CodeModel.GetById 10ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/javascript-mode/extjs.button

http://github.com/ridgetang/snippets
Unknown | 20 lines | 18 code | 2 blank | 0 comment | 0 complexity | 6b1a27f40c3f326bd419f2033cbf255a MD5 | raw file
 1# name : new Ext.Button
 2# key : button
 3# group : extjs
 4# contributor : crazycode@gmail.com
 5# This was cloned from a TextMate bundle for yasnippet.
 6# --
 7/**
 8 * @property $1
 9 * @type Ext.Button
10 * ${2:Property description}
11 */
12this.${1:buttonName} = new Ext.Button({
13  text    : '${3:Button Text}',${4:
14  iconCls : '${5:icon class}',}${6:
15  disabled: true,}
16  scope   : this,
17  handler : $0
18});
19
20