It is based on : https://github.com/Chris2011/netbeans-angular2-code-templates This extension for NetBeans adds snippets for Element for Vue.
跟其他代码模板一样输入部分代码然后提示- row :
<el-row></el-row>
- col :
<el-col></el-col>
- color :
<color></color>
- typography :
<typography></typography>
- icon :
<icon></icon>
- button :
<el-button></el-button>
- radio :
<el-radio></el-radio>
- rg :
<el-radio-group></el-radio-group>
- checkbox :
<el-checkbox></el-checkbox>
- cg :
<el-checkbox-group></el-checkbox-group>
- input :
<el-input></el-input>
- auto :
<el-autocomplete></el-autocomplete>
- in :
<el-input-number></el-input-number>
- select :
<el-select></el-select>
- opt :
<el-option></el-option>
- gopt :
<el-option-group></el-option-group>
- casc :
<el-cascader></el-cascader>
- switch :
<el-switch></el-switch>
- slider :
<el-slider></el-slider>
- tpicker :
<el-time-picker></el-time-picker>
- tselect :
<el-time-select></el-time-select>
- dp :
<el-date-picker></el-date-picker>
- datetime :
<el-datetime-picker></el-datetime-picker>
- upload :
<el-upload></el-upload>
- rate :
<el-rate></el-rate>
- cp :
<el-color-picker></el-color-picker>
- trans :
<el-transfer></el-transfer>
- form :
<el-form></el-form>
- fitem :
<el-form-item></el-form-item>
- table :
<el-table></el-table>
- tcol :
<el-table-column></el-table-column>
- tag :
<el-tag></el-tag>
- prog :
<el-progress></el-progress>
- tree :
<el-tree></el-tree>
- page :
<el-pagination></el-pagination>
- badge :
<el-badge></el-badge>
- loading :
<v-loading></v-loading>
- menu :
<el-menu></el-menu>
- submenu :
<el-submenu></el-submenu>
- mitem :
<el-menu-item></el-menu-item>
- tabs :
<el-tabs></el-tabs>
- tabp :
<el-tab-pane></el-tab-pane>
- bc :
<el-breadcrumb></el-breadcrumb>
- drop :
<el-dropdown></el-dropdown>
- dmenu :
<el-dropdown-menu></el-dropdown-menu>
- ditem :
<el-dropdown-item></el-dropdown-item>
- steps :
<el-steps></el-steps>
- dialog :
<el-dialog></el-dialog>
- tip :
<el-tooltip></el-tooltip>
- pop :
<el-popover></el-popover>
- card :
<el-card></el-card>
- caro :
<el-carousel><el-carousel-item></el-carousel-item></el-carousel>
- coll :
<el-collapse><el-collapse-item></el-collapse-item></el-collapse>
- msg :
this.$message({ message: 'text',type: 'info'});
- alert :
this.$alert('content', 'title', {confirmButtonText: 'confirm',callback: action => {}});
- confirm :
this.$confirm('content', 'title', {confirmButtonText: 'confirm',cancelButtonText: 'cancel',type: 'warning',}).then(() => {, ,}).catch(() => {});
- prompt :
this.$prompt('content', 'title', {confirmButtonText: 'confirm',cancelButtonText: 'cancel',inputPattern: /regExp/,inputErrorMessage: 'errormsg',}).then(({ value }) => {, ,}).catch(() => {});
- msgb :
this.$msgbox({, title: 'title',message: 'string|VNode',showCancelButton: true,confirmButtonText: 'confirm',cancelButtonText: 'cancel',beforeClose: (action, instance, done) => {},}).then(action => {, ,});
- notify :
this.$notify({, title: 'title',message: 'string|VNode',});