mirror of
https://github.com/501351981/vue-office.git
synced 2025-06-15 07:00:00 +08:00
17 lines
539 B
TypeScript
17 lines
539 B
TypeScript
export interface Options {
|
|
minColLength?: number;
|
|
minRowLength?: number;
|
|
showContextmenu?: boolean;
|
|
}
|
|
|
|
export interface JsExcelPreview {
|
|
preview: (src: string | ArrayBuffer | Blob) => Promise<any>;
|
|
save: (fileName?: string) => void;
|
|
setOptions: (options: Options) => void;
|
|
setRequestOptions: (requestOptions?: any) => void;
|
|
destroy: ()=> void;
|
|
}
|
|
declare const jsPreviewExcel: {
|
|
init: (container: HTMLElement, options?: Options, requestOptions?: any) => JsExcelPreview;
|
|
};
|
|
export default jsPreviewExcel; |