2.0.5 • Published 2 years ago
ex-tablewjw2 v2.0.5
ex-table
table auto fit one-line. Re-encapsulation of el-table And introduce the ex-table-column plug-in to solve the problem that its asynchronous rendering data cannot be adaptive.
Features
Common ways to encapsulate other forms
Project setup
npm install ex-tablewjw2 --save
Required
Quick Start
import Vue from 'vue'
import Element from 'element-ui'
import exTablewjw2 from 'ex-tablewjw2';
import 'ex-tablewjw2/lib/ex-tablewjw2.css';
Vue.use(Element)
Vue.use(exTablewjw2)
### Simple use
Replace `<el-table-column />` to `<ex-table-column>`, Replace `<el-table/>` to `<ex-table>`,
``` javascript
<ex-table>
<ex-table-column />
</ex-table>
notice
if ex-table-column set width should add 'show-overflow-tooltip'
ex-table-column Extend prop
Prop | Description | Type | Accepted Values | Default |
---|---|---|---|---|
fitByClass | Specify the class of the element that determines the width | string | - | cell |
fitGap | The content right margin | number | - | 0 |
ex-tablewjw2
ex-tablewjw2
2.0.5
2 years ago
1.1.0
2 years ago
2.0.3
2 years ago
2.0.2
2 years ago
2.0.4
2 years ago
2.0.1
2 years ago
1.0.70
2 years ago
1.0.69
2 years ago
1.0.68
4 years ago
1.0.67
4 years ago
1.0.66
4 years ago
1.0.65
4 years ago
1.0.62
4 years ago
1.0.61
4 years ago
1.0.64
4 years ago
1.0.63
4 years ago
1.0.6
4 years ago
1.0.5
4 years ago
1.0.4
4 years ago
1.0.3
4 years ago
1.0.2
4 years ago
1.0.1
4 years ago
1.0.0
4 years ago