Skip to content

DragTargetEvent 继承自: Event['DragTarget']

Event payload for drag move and accepted-drop callbacks.

属性 ​

名称类型默认值说明
src_idOptional[int]requiredDraggable 源控件的 ID(若有)。
srcDraggableinit=False由 src_id 解析出的源 Draggable 控件。
local_positionOffsetmetadata={'data_field': 'l'}Pointer position relative to the target bounds.
global_positionOffsetmetadata={'data_field': 'g'}Pointer position in the global coordinate space.

关注我,学习大模型、大数据、Python等热门技术。