assnippet README
as snippet for jsp, js and css.
Feature
js
新的代码段
global
- gurl [global.getPortUrl]
- gp [gloabl.fnPerson]
common
- cajax [Com.ajaxData]
- ctmpl [Com.tmpl]
- cbox [Com.dialogBox]
- ctips [Com.dialogTipsMsg]
- cradio [Com.radioBox]
- cmu [Com.mergeUrl]
module
dialog
- dl [dialogLoading = Com.dialogTipsMsg(loading, false, true)]
- dlc [dialogLoading.close();]
event
- oc [on('click', fn)]
- odc [grid.on('drawcell', fn)]
- orc [grid.on('rowdblclick', fn)]
jsp
i18n
- i-em [em data-i18n]
- i-attr [data-i18n="[attr]"]
- i-placeholder [data-i18n="[placeholder]"]
form
- as-form [<form>]
- as-form-item [as-form-item]
- as-em [as-em]
- as-ipt [as-input]
- as-ipt-placeholder [as-input-placeholder]
- as-ipt-hide [as-input-hide]
- as-ipt-time [WdatePicker]
- as-ipt-time-dbl [WdatePicker with start and end]
- as-txt [as-textarea]
- as-sel [as-select]
- as-radio [as-radio-box>as-rad-label>as-radio]
tmpl
- tmpl [<script id="" type="text/x-dot-template">]
btn
- btn-x [customize btn without icon]
- btn-add
- btn-modify
- btn-del
- btn-export
css
| |