UNPKG

@tinymce/tinymce-vue

Version:

Official TinyMCE Vue 3 Component

20 lines (19 loc) 528 B
/** * 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 type CallbackFn = () => void; export interface IStateObj { listeners: CallbackFn[]; scriptId: string; scriptLoaded: boolean; } interface ScriptLoader { load: (doc: Document, url: string, callback: CallbackFn) => void; reinitialize: () => void; } declare const ScriptLoader: ScriptLoader; export { ScriptLoader };