vxe-table-select-area
Version:
一个基于 vxe-table 的可区域选中复制、粘贴的组件
20 lines (16 loc) • 488 B
TypeScript
import { ColumnInfo } from '../column'
declare function formatsFunc(params: FormatsParams, ...args: any[]): any;
/**
* 全局格式化
*/
export class VxeGlobalFormats {
mixin(map: { [type: string]: typeof formatsFunc }): VxeGlobalFormats;
get(type: string): typeof formatsFunc;
add(type: string, callback: typeof formatsFunc): VxeGlobalFormats;
delete(type: string): VxeGlobalFormats;
}
export interface FormatsParams {
cellValue: any;
row: any,
column: ColumnInfo;
}