本文へ移動

@eightkk/vue-weave / core / GraphPaletteDrop

Interface: GraphPaletteDrop ​

Defined in: src/core/diagramEditor.ts:50

What readPaletteDrop reads from a drop: the item ID and the data it carried.

Properties ​

data? ​

optional data?: unknown

Defined in: src/core/diagramEditor.ts:53

The data of the dragged item, parsed from JSON. It comes from the drag source; do not trust it blindly.


id ​

id: string

Defined in: src/core/diagramEditor.ts:51

MIT ライセンスで公開しています。