Transfer scope

Generated by website/scripts/generate-api.ts from packages/gridla/src. Do not edit by hand; run bun run generate in website/.

Move items between providers. Wrap several GridProviders in a GridTransferScope; the pointer decides the target and the provider events report the transfer.

import { GridTransferScope } from 'gridla/vue'
ExportKindSummary
GridTransferScopeconstLets items move between every GridProvider rendered inside it.

Constants

GridTransferScope

const ยท vue/transfer.ts:13

Lets items move between every GridProvider rendered inside it. The pointer decides the target: the deepest registered canvas under the pointer that accepts the item previews the drop; releasing there commits it. Provides a TransferScope from gridla/interaction; renders only its default slot.

export const GridTransferScope: DefineComponent<{}, () => Array<VNode<RendererNode, RendererElement, { [key: string]: any; }>> | null, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, ToResolvedProps<{}, {}>, {}, SlotsType<{ default?: () => VNode[]; }>, {}, {}, string, ComponentProvideOptions, true, {}, any>