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

40 lines (39 loc) 908 B
import { ResultType } from '../../common/data-type'; import { AtomController } from '../../common/atom-controller'; /** * @public * @class BoundController * @extends AtomController */ declare class BoundController extends AtomController { /** * @constructor * @param {any} obj */ constructor(obj: any); /** * @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>; } export default BoundController;