Class: Widget

Widget

三维小部件基类,其中包括小部件:弹窗、提示框、右键菜单、版权控件等

new Widget()

widget/Widget.js, line 10

Classes

Widget
Widget

Members

enable

部件是否可用

id

部件唯一 id

state

部件当前状态

Methods

setContent(content)

widget/Widget.js, line 151

设置内容

Name Type Description
content Element | ElementString

内容

setPosition(position)

widget/Widget.js, line 134

设置部件位置

Name Type Description
position Position

部件位置

Widget Widget

三维小部件基类,其中包括小部件:弹窗、提示框、右键菜单、版权控件等

new Widget()

widget/Widget.js, line 10

Classes

Widget
Widget

Members

enable

部件是否可用

id

部件唯一 id

state

部件当前状态

Methods

setContent(content)

widget/Widget.js, line 151

设置内容

Name Type Description
content Element | ElementString

内容

setPosition(position)

widget/Widget.js, line 134

设置部件位置

Name Type Description
position Position

部件位置