vue-element-extends
Version:
Extension component based on ElementUI 2.x
67 lines (65 loc) • 1.95 kB
JavaScript
const PropsStatic = {
table: {
data: Array,
height: [String, Number],
maxHeight: [String, Number],
stripe: Boolean,
border: Boolean,
size: String,
fit: { type: Boolean, default: true },
showHeader: { type: Boolean, default: true },
highlightCurrentRow: Boolean,
currentRowKey: [String, Number],
lazy: Boolean,
indent: Number,
rowClassName: [Function, String],
rowStyle: [Function, Object],
cellClassName: [Function, String],
cellStyle: [Function, Object],
headerRowClassName: [Function, String],
headerRowStyle: [Function, Object],
headerCellClassName: [Function, String],
headerCellStyle: [Function, Object],
rowKey: [Function, String],
emptyText: String,
defaultExpandAll: Boolean,
expandRowKeys: Array,
defaultSort: Object,
tooltipEffect: { type: String, default: 'dark' },
showSummary: Boolean,
sumText: String,
summaryMethod: Function,
selectOnIndeterminate: { type: Boolean, default: true },
spanMethod: Function,
load: Function
},
tableColumn: {
index: [Number, Function],
type: String,
label: String,
columnKey: String,
prop: String,
width: String,
minWidth: String,
fixed: [Boolean, String],
sortable: [Boolean, String],
sortMethod: Function,
sortBy: [String, Array, Function],
sortOrders: Array,
resizable: { type: Boolean, default: true },
formatter: Function,
showOverflowTooltip: Boolean,
align: { type: String, default: 'left' },
headerAlign: String,
className: { type: String, default: '' },
labelClassName: String,
selectable: Function,
reserveSelection: Boolean,
filters: Array,
filterPlacement: String,
filterMultiple: { type: Boolean, default: true },
filterMethod: Function,
filteredValue: Array
}
}
export default PropsStatic