UNPKG

vxe-table-select-area

Version:

一个基于 vxe-table 的可区域选中复制、粘贴的组件

20 lines (16 loc) 572 B
import { ToolbarButtonConfig } from '../toolbar' import { GridRenderParams } from './renderer' declare function commandsFunc(params: CommandsParams, ...args: any[]): any; /** * 全局指令 */ export class VxeGlobalCommands { mixin(map: { [type: string]: typeof commandsFunc }): VxeGlobalCommands; get(type: string): typeof commandsFunc; add(type: string, callback: typeof commandsFunc): VxeGlobalCommands; delete(type: string): VxeGlobalCommands; } export interface CommandsParams extends GridRenderParams { code: string; button?: ToolbarButtonConfig; }