Primitives / foldkit-primitives/dom

DragDropped

const · packages/primitives/src/dom/pointer-drag.ts:38

const DragDropped: Schema.TaggedStruct<
  'DragDropped',
  {
    readonly id: Schema.String
    readonly over: Schema.NullOr<
      Schema.Struct<{
        readonly id: Schema.String
        readonly zone: Schema.Literals<readonly ['before', 'inside', 'after']>
        readonly part: Schema.optionalKey<Schema.String>
      }>
    >
    readonly region: Schema.optionalKey<Schema.Boolean>
  }
>

Its type

type DragDropped = typeof DragDropped.Type

In the guides