NuclearDispersionSystem/ant-design-vue-jeecg/node_modules/@tinymce/tinymce-vue/lib/cjs/ScriptLoader.d.ts

16 lines
493 B
TypeScript
Raw Normal View History

2023-09-14 14:47:11 +08:00
/**
* Copyright (c) 2018-present, Ephox, Inc.
*
* This source code is licensed under the Apache 2 license found in the
* LICENSE file in the root directory of this source tree.
*
*/
export declare type callbackFn = () => void;
export interface IStateObj {
listeners: callbackFn[];
scriptId: string;
scriptLoaded: boolean;
}
export declare const create: () => IStateObj;
export declare const load: (state: IStateObj, doc: Document, url: string, callback: callbackFn) => void;