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) 858 B
import { Basic } from './common/basic'; import { ResultType } from './common/data-type'; /** * @public * @class PluginController * @extends Basic */ declare class PluginController extends Basic { private pluginInstance; /** * @constructor * @param {any} obj */ constructor(obj: any); /** * @public * @async * @function Install * @param {any} pluginObj * @returns {Promise<ResultType>} */ Install(pluginObj: any): Promise<ResultType>; /** * @public * @async * @function Uninstall * @param {string} id * @returns {Promise<ResultType>} */ Uninstall(id: string): Promise<ResultType>; /** * @public * @async * @function Get * @returns {Promise<ResultType>} */ Get(): Promise<ResultType>; } export default PluginController;