EarthSDK
    正在准备搜索索引...

    类型别名 DragStartData

    DragStartData:
        | { type: "UITreeA"; value: TreeItem }
        | { type: "Other"; value: any[] }

    表示拖放开始时的数据类型。 可以是 'UITreeA' 类型,其值为 TreeItem; 也可以是 'Other' 类型,其值为任意数组。

    类型声明

    • { type: "UITreeA"; value: TreeItem }
      • type: "UITreeA"

        数据类型为 'UITreeA'

      • value: TreeItem

        对应的数据值,类型为 TreeItem

    • { type: "Other"; value: any[] }
      • type: "Other"

        数据类型为 'Other'

      • value: any[]

        对应的数据值,类型为任意数组