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

61 lines (60 loc) 1.47 kB
import { ObjectAbstract } from '../../../common/object-abstract'; import { LightType, LightEntityAtomType, IGenerate } from '../../../common/interface/light'; import { ObjectController } from '../../../common/object-controller'; /** * @public * @class Light * @extends ObjectController * @implements ObjectAbstract */ declare class Light extends ObjectController implements ObjectAbstract { className: string; private LightEntityAtom; /** * @constructor * @param {LightType} opt (optional) */ constructor(opt?: LightType); /** * @public * @function GetScheme * @returns {{LightEntityAtom: LightEntityAtomType}} */ GetScheme(): { LightEntityAtom: LightEntityAtomType; }; /** * @public * @function GetData * @returns {LightType} */ GetData(): LightType; /** * @public * @function SetData * @param {LightType} opt * @returns {void} */ SetData(opt: LightType): void; /** * @public * @function generateAtomData * @param {LightType} opt * @returns {IGenerate} */ generateAtomData(opt: LightType): IGenerate; /** * @public * @function GetValidateRules * @returns {LightType} */ GetValidateRules(): LightType; /** * @public * @function Validate * @param {LightType} opt * @returns {void} */ Validate(opt: LightType): void; } export default Light;