UNPKG

wdpapi

Version:

51WORLD WdpApi is a set of programming interfaces developed by JavaScript that is responsible for negotiating between web pages and cloud rendering platforms. Supported by 51Cloud rendering platform, it enables the users to create any HTML5 UI element on

44 lines (43 loc) 1.16 kB
import { Basic } from './common/basic'; import { ResultType } from './common/data-type'; import { IsendFileListToWim } from './common/interface/wim'; /** * @public * @class EditorController * @extends Basic */ declare class EditorController extends Basic { private apiClassName; private wimApiClassName; /** * @constructor * @param {any} obj */ constructor(obj: any); /** * @public * @async * @function Enter * @param {string} language (optional, default value is cn) * @returns {Promise<ResultType>} */ Enter(language?: string): Promise<ResultType>; /** * @public * @async * @function EnterWim * @param {boolean} isOpen * @param {string} language (optional, default value is cn) * @returns {Promise<ResultType>} */ Wim(isOpen: boolean, language?: string): Promise<ResultType>; /** * @public * @async * @function SendFileListToWim * @param {IsendFileListToWim} opt * @returns {Promise<ResultType>} */ SendFileListToWim(opt: IsendFileListToWim): Promise<ResultType>; } export default EditorController;