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
62 lines (61 loc) • 1.52 kB
TypeScript
import { ObjectAbstract } from '../../common/object-abstract';
import { MIParamsAtomType, MIParamsType, IGenerate } from '../../common/interface/material';
import { ObjectCommon } from '../../common/object-common';
/**
* @public
* @class Material
* @extends ObjectCommon
* @implements ObjectAbstract
*/
declare class Material extends ObjectCommon implements ObjectAbstract {
className: string;
private MIParamsAtom;
/**
* @constructor
* @param {MIParamsType} opt (optional)
*/
constructor(opt?: MIParamsType);
get materialEid(): string | null;
/**
* @public
* @function GetScheme
* @returns {{MIParamsAtom: MIParamsAtomType}}
*/
GetScheme(): {
MIParamsAtom: MIParamsAtomType;
};
/**
* @public
* @function GetData
* @returns {MIParamsType}
*/
GetData(): MIParamsType;
/**
* @public
* @function SetData
* @param {MIParamsType} opt
* @returns {void}
*/
SetData(opt: MIParamsType): void;
/**
* @public
* @function generateAtomData
* @param {MIParamsType} opt
* @returns {IGenerate}
*/
generateAtomData(opt: MIParamsType): IGenerate;
/**
* @public
* @function GetValidateRules
* @returns {MIParamsType}
*/
GetValidateRules(): MIParamsType;
/**
* @public
* @function Validate
* @param {MIParamsType} opt
* @returns {void}
*/
Validate(opt: MIParamsType): void;
}
export default Material;