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
59 lines (58 loc) • 1.44 kB
TypeScript
import { AtomController } from '../common/atom-controller';
import { ResultType } from '../common/data-type';
/**
* @public
* @class OutlinerController
* @extends AtomController
*/
declare class OutlinerController extends AtomController {
private apiClassName;
/**
* @constructor
* @param {any} obj
*/
constructor(obj: any);
/**
* @public
* @async
* @function Create
* @param {any} jsonData
* @returns {Promise<ResultType>}
*/
Create(jsonData: any): Promise<ResultType>;
/**
* @public
* @async
* @function Get
* @param {string} eid (optional)
* @returns {Promise<ResultType>}
*/
Get(eid?: string): Promise<ResultType>;
/**
* @public
* @async
* @function GenerateObject
* @param {any} res
* @returns {Promise<any>}
*/
GenerateObject(res: any): Promise<any>;
/**
* @public
* @async
* @function GetOnly
* @param {string} eid
* @returns {Promise<ResultType>}
*/
GetOnly(eid: string): Promise<ResultType>;
/**
* @public
* @async
* @function Move
* @param {Array<any>} objects
* @param {number} position
* @param {string} category (default value is 'None')
* @returns {Promise<ResultType>}
*/
Move(objects: Array<any>, position: number, category?: string): Promise<ResultType>;
}
export default OutlinerController;