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
49 lines (48 loc) • 1.3 kB
TypeScript
import { UICore } from '../core/ui-core';
import { IwindowStyleType } from '../interface/window';
import { IpoiUIContentType } from '../interface/poi-ui';
/**
* @public
* @class PoiUI
* @extends UICore
*/
declare class PoiUI extends UICore {
private poiUIContent;
/**
* @constructor
*/
constructor(opt: {
poiUIContent: IpoiUIContentType;
windowStyle: IwindowStyleType;
});
get normalImage(): string;
set normalImage(normalImage: string);
GetNormalImage(): string;
SetNormalImage(normalImage: string): void;
get activeImage(): string;
set activeImage(activeImage: string);
GetActiveImage(): string;
SetActiveImage(activeImage: string): void;
get content(): string;
set content(content: string);
GetContent(): string;
SetContent(content: string): void;
/**
* @private
* @function generateContent
* @param {IpoiUIContentType} opt
* @returns {void}
*/
private generateContent;
/**
* @public
* @function Update
* @param {{poiUIContent?: IpoiUIContentType, windowStyle?: IwindowStyleType}} opt
* @returns {void}
*/
Update(opt: {
poiUIContent?: IpoiUIContentType;
windowStyle?: IwindowStyleType;
}): void;
}
export default PoiUI;