edoc-table-list
table-list
edoc-table-list组件
Build Setup
# install dependencies
npm install edoc-table-list --save
For detailed explanation on how things work, consult the docs for vue-loader.
Usage
# in main.js
import EdocTableList from 'edoc-table-list';
Vue.use(EdocTableList);
# in <template>
<edoc-table-list header-color="#409EFF" header-text-color="#ffffff" checkable :button-group="buttonGroup" :labels="labels" url="get/my-data" @switch-change="onSwitchChange($event)">
<template slot="operation" slot-scope="{ row, $index }">
<el-tooltip class="item" effect="light" content="detail" placement="top">
<i class="el-icon-view" @click="detail(row, $index)"></i>
</el-tooltip>
<el-tooltip class="item" effect="light" content="delete" placement="top" style="margin-left: 15px">
<i class="el-icon-delete" @click="del(row,$index)"></i>
</el-tooltip>
</template>
</edoc-table-list>
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 1.0.16 | ^2.6.10 | MIT | |
| 1.0.15 | ^2.6.10 | MIT | |
| 1.0.14 | ^2.6.10 | MIT | |
| 1.0.13 | ^2.6.10 | MIT | |
| 1.0.12 | ^2.6.10 | MIT | |
| 1.0.11 | ^2.6.10 | MIT | |
| 1.0.10 | ^2.6.10 | MIT | |
| 1.0.9 | ^2.6.10 | MIT | |
| 1.0.8 | ^2.6.10 | MIT | |
| 1.0.7 | ^2.6.10 | MIT | |
| 1.0.6 | ^2.6.10 | MIT | |
| 1.0.5 | ^2.6.10 | MIT | |
| 1.0.4 | ^2.6.10 | MIT | |
| 1.0.0 | ^2.6.10 | MIT |