new HtmlOverlay(options)
widget/HtmlOverlay.js, line 34
Name | Type | Description | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
* |
|
Extends
Classes
Members
-
enable
-
部件是否可用
-
id
-
部件唯一 id
-
state
-
部件当前状态
Methods
-
setContent(content)
widget/HtmlOverlay.js, line 128 -
设置默认模板的主体内容, 只用当
defTemp = true
时有用Name Type Description content
* DOM对象或字符串
-
inherited setPosition(position)
widget/Widget.js, line 134 -
设置部件位置
Name Type Description position
Position 部件位置
-
setTitle(content)
widget/HtmlOverlay.js, line 138 -
设置默认模板的标题内容, 只用当
defTemp = true
时有用Name Type Description content
* DOM对象或字符串