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