Primitives / foldkit-primitives/dom
DragPlace
const · packages/primitives/src/dom/pointer-drag.ts:13
const DragPlace: Schema.Struct<{
readonly id: Schema.String
readonly zone: Schema.Literals<readonly ['before', 'inside', 'after']>
readonly part: Schema.optionalKey<Schema.String>
}>Its type
type DragPlace = typeof DragPlace.TypeA marked descendant under the pointer, and the zone of it the pointer is in.
part is the value of the part attribute on the element found, such as
the empty Region of a node a drop goes into; a place with one is inside.