UNPKG

ex-table-column

Version:

Extended to element table column, supports column width to be automatically adjusted according to content, supports all attributes of el-table-column, compatible el-table-column.

11 lines (9 loc) 235 B
export function max(list) { return Math.max.apply(null, list.filter(item => !isNaN(item))) } export function map(list, fn) { return Array.prototype.map.call(list, fn) } export function isEmpty(item) { return item.length === 0 }