Preparing search index...
The search index is not available
Tango LowCode Builder
Tango LowCode Builder
@music163/tango-core
DragSource
Class DragSource
拖拽来源类,被拖拽的物体
Index
Constructors
constructor
Properties
data
drop
Target
is
Dragging
Accessors
bounding
id
name
node
prototype
Methods
clear
get
Node
set
Constructors
constructor
new
Drag
Source
(
workspace
)
:
DragSource
Parameters
workspace
:
AbstractWorkspace
Returns
DragSource
Properties
data
data
:
ISelectedItemData
选中的目标元素数据
drop
Target
drop
Target
:
DropTarget
放置目标
is
Dragging
is
Dragging
:
boolean
是否处于拖拽状态
Accessors
bounding
get
bounding
(
)
:
ElementBoundingType
Returns
ElementBoundingType
id
get
id
(
)
:
string
Returns
string
name
get
name
(
)
:
string
Returns
string
node
get
node
(
)
:
JsxViewNode
Returns
JsxViewNode
prototype
get
prototype
(
)
:
IComponentPrototype
获取对应的 prototype
Returns
IComponentPrototype
Methods
clear
clear
(
)
:
void
重置
Returns
void
get
Node
get
Node
(
)
:
JsxViewNode
获取对应的 node
Returns
JsxViewNode
Deprecated
set
set
(
data
)
:
void
更新选中数据
Parameters
data
:
ISelectedItemData
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
data
drop
Target
is
Dragging
Accessors
bounding
id
name
node
prototype
Methods
clear
get
Node
set
Tango LowCode Builder
Loading...
拖拽来源类,被拖拽的物体