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

47 lines (46 loc) 1.35 kB
import { ResultType, IindexAndNameArray, IindexAndSwitchArray } from '../common/data-type'; declare class ModelerController { private apiClassName; private obj; /** * @constructor * @param {any} obj */ constructor(obj: any); /** * @public * @async * @function RemoveRegion * @param {string} eid * @param {Array<number>} indexArray * @returns {Promise<ResultType>} */ RemoveRegion(eid: string, indexArray: Array<number>): Promise<ResultType>; /** * @public * @async * @function UpdateRegionName * @param {string} eid * @param {Array<IindexAndNameArray>} indexAndNameArray * @returns {Promise<ResultType>} */ UpdateRegionName(eid: string, indexAndNameArray: Array<IindexAndNameArray>): Promise<ResultType>; /** * @public * @async * @function ToggleRegion * @param {string} eid * @param {Array<IindexAndSwitchArray>} indexAndSwitchArray * @returns {Promise<ResultType>} */ ToggleRegion(eid: string, indexAndSwitchArray: Array<IindexAndSwitchArray>): Promise<ResultType>; /** * @public * @async * @function QueryRegion * @param {string} eid * @returns {Promise<ResultType>} */ QueryRegion(eid: string): Promise<ResultType>; } export default ModelerController;