MCPcopy Create free account

hub / github.com/clauderic/dnd-kit / functions

Functions995 in github.com/clauderic/dnd-kit

↓ 4 callersMethodcleanup
()
packages/dom/src/core/sensors/pointer/PointerSensor.ts:247
↓ 4 callersFunctioncreateDeepSignal
( getTarget: () => T )
packages/svelte/src/utilities/createDeepSignal.svelte.ts:13
↓ 4 callersMethodcurrent
()
packages/state/src/history.ts:34
↓ 4 callersFunctiondefaultPreventable
( event: T, cancelable = true )
packages/abstract/src/core/manager/events.ts:232
↓ 4 callersMethoddestroy
* Destroys all registered entities and cleans up resources. * * @remarks * This method: * - Destroys all draggable and droppable entities
packages/abstract/src/core/manager/registry.ts:151
↓ 4 callersFunctiondraggableTests
(stories: DraggableStories)
apps/stories-shared/tests/draggable.tests.ts:8
↓ 4 callersFunctiondroppableTests
(stories: DroppableStories)
apps/stories-shared/tests/droppable.tests.ts:8
↓ 4 callersMethodequals
* Returns true if both points are equal. * * @param {Point} a - A point * @param {Point} b - Another point
packages/geometry/src/point/Point.ts:40
↓ 4 callersFunctionfindIndex
(item: Items[0], id: UniqueIdentifier)
packages/helpers/src/move.ts:99
↓ 4 callersFunctionflattenTree
( items: Item[], parentId: string | null = null, depth = 0 )
apps/stories/stories/react/Sortable/Tree/utilities.ts:5
↓ 4 callersFunctiongetBoundingRectangle
(element: Element)
packages/dom/src/utilities/bounding-rectangle/getBoundingRectangle.ts:3
↓ 4 callersFunctiongetRecordKey
* Resolve a grouped record key from a UniqueIdentifier. * Object keys are strings at runtime, even when sortable groups use numeric IDs.
packages/helpers/src/move.ts:54
↓ 4 callersFunctiongetRoot
(target: Event['target'] | undefined)
packages/dom/src/utilities/execution-context/getRoot.ts:5
↓ 4 callersFunctiongetScrollableAncestors
( element: Node | null, options: Options = defaultOptions )
packages/dom/src/utilities/scroll/getScrollableAncestors.ts:21
↓ 4 callersFunctiongetStatusColor
()
packages/storybook-addon-codesandbox/src/preview/codesandbox-button-dom.ts:102
↓ 4 callersFunctiongetTheme
()
packages/storybook-addon-codesandbox/src/preview/codesandbox-button-dom.ts:44
↓ 4 callersMethodhandleMove
( direction: 'up' | 'down' | 'left' | 'right', event: KeyboardEvent )
packages/dom/src/core/sensors/keyboard/KeyboardSensor.ts:229
↓ 4 callersFunctionisDocument
(node: Node)
packages/dom/src/utilities/type-guards/isDocument.ts:3
↓ 4 callersFunctionisKeyframeEffect
( effect: AnimationEffect | null | undefined )
packages/dom/src/utilities/type-guards/isKeyframeEffect.ts:1
↓ 4 callersFunctionisWindow
(element: Object)
packages/dom/src/utilities/type-guards/isWindow.ts:1
↓ 4 callersFunctionopenAssistant
(codeContext?: CodeContext, query?: string)
apps/docs/src/components/Assistant/events.ts:16
↓ 4 callersFunctionparseTransform
(computedStyles: { scale?: string; transform: string; translate?: string; })
packages/dom/src/utilities/transform/parseTransform.ts:12
↓ 4 callersMethodsetDropTarget
* Sets the target of the drop operation. * * @param identifier - The unique identifier of the droppable entity or null/undefined * @returns A
packages/abstract/src/core/manager/actions.ts:52
↓ 4 callersFunctionsort
(instances: Set<Sortable>, sortFn = sortByIndex)
packages/dom/src/sortable/plugins/OptimisticSortingPlugin.ts:229
↓ 4 callersFunctionsortableVerticalTests
(stories: SortableVerticalStories)
apps/stories-shared/tests/sortable-vertical.tests.ts:8
↓ 4 callersFunctionsource
()
packages/solid/src/core/draggable/DragOverlay.tsx:41
↓ 4 callersFunctionsupportsPopover
(element: Element)
packages/dom/src/utilities/popover/supportsPopover.ts:1
↓ 4 callersFunctiontrackRendering
(callback: () => void)
packages/react/src/core/context/renderer.ts:30
↓ 4 callersFunctiontrackRendering
(callback: () => void)
packages/solid/src/core/context/renderer.ts:28
↓ 4 callersFunctiontrackRendering
(callback: () => void)
packages/vue/src/core/context/renderer.ts:31
↓ 4 callersFunctionuseDeepSignal
( target: T, synchronous?: (property: keyof T, oldValue: any, newValue: any) => boolean )
packages/react/src/hooks/useDeepSignal.ts:9
↓ 4 callersFunctionuseDeepSignal
( target: Accessor<T> )
packages/solid/src/hooks/useDeepSignal.ts:5
↓ 4 callersFunctionuseDragDropManager
()
packages/solid/src/core/hooks/useDragDropManager.ts:5
↓ 4 callersFunctionuseDragDropManager
()
packages/vue/src/core/hooks/useDragDropManager.ts:3
↓ 3 callersMethodabort
(event?: E)
packages/abstract/src/core/sensors/activation.ts:33
↓ 3 callersFunctionactivate
* Called when the activation is triggered.
packages/abstract/src/core/sensors/activation.ts:59
↓ 3 callersFunctionarraySwap
( array: T, from: number, to: number )
packages/helpers/src/move.ts:30
↓ 3 callersFunctionclassNames
( ...classes: (string | boolean | null | undefined)[] )
apps/stories-shared/utilities/classnames.ts:1
↓ 3 callersMethodcleanup
()
packages/dom/src/core/plugins/feedback/Feedback.ts:447
↓ 3 callersMethodcleanup
()
packages/dom/src/core/sensors/keyboard/KeyboardSensor.ts:286
↓ 3 callersFunctioncollectFiles
(options: CollectFilesOptions)
packages/storybook-addon-codesandbox/src/collect-files.ts:79
↓ 3 callersMethodcomputeCollisions
* Computes collisions between draggable and droppable elements. * * @param entries - Optional array of droppable elements to check. If not provi
packages/abstract/src/core/collision/observer.ts:99
↓ 3 callersFunctioncreateContext
(componentName: string)
packages/vue/src/utilities/context.ts:4
↓ 3 callersFunctioncreateDebugElement
(tagName = 'div')
packages/dom/src/plugins/debug/debug.ts:137
↓ 3 callersFunctioncreateDraggable
(id: string | number)
packages/dom/tests/sortable-utilities.test.ts:37
↓ 3 callersFunctioncreateDroppable
(id: string | number)
packages/dom/tests/sortable-utilities.test.ts:41
↓ 3 callersFunctioncreateInstance
( initializer: (manager: DragDropManager | undefined) => T )
packages/svelte/src/core/hooks/createInstance.svelte.ts:11
↓ 3 callersFunctioncreateRange
(length: number)
apps/stories-solid/stories/Sortable/MultipleLists/MultipleListsApp.tsx:8
↓ 3 callersFunctioncreateRange
(length: number)
apps/stories/stories/react/Sortable/MultipleLists/MultipleListsApp.tsx:10
↓ 3 callersFunctioncreateSandbox
( files: Record<string, SandboxFile>, template?: string )
packages/storybook-addon-codesandbox/src/define.ts:18
↓ 3 callersMethoddelta
* Returns the delta between this point and another point. * * @param {Point} a - A point * @param {Point} b - Another point
packages/geometry/src/point/Point.ts:20
↓ 3 callersFunctiondragEndEvent
Build a dragend-style event (no preventDefault).
packages/helpers/tests/move.test.ts:55
↓ 3 callersFunctionenumerable
(enumerable: boolean = true)
packages/state/src/decorators.ts:54
↓ 3 callersFunctionexceedsDistance
( {x, y}: Coordinates, distance: Distance )
packages/geometry/src/distance/distance.ts:8
↓ 3 callersFunctionflush
Flush microtasks so async stop/reset logic completes
packages/abstract/tests/manager-modifiers.test.ts:23
↓ 3 callersFunctionflush
()
apps/docs/src/scripts/mintlify-analytics.ts:134
↓ 3 callersFunctiongenerateUniqueId
(prefix: string)
packages/dom/src/utilities/misc/generateUniqueId.ts:3
↓ 3 callersFunctiongetDragDropManager
()
packages/svelte/src/core/hooks/getDragDropManager.ts:3
↓ 3 callersMethodhandleCancel
(event: Event)
packages/dom/src/core/sensors/pointer/PointerSensor.ts:378
↓ 3 callersFunctionhasSortableIndices
* Check if the source has sortable index properties via duck typing. * The `move` helper lives in `@dnd-kit/helpers` which has no dependency on `@dnd
packages/helpers/src/move.ts:68
↓ 3 callersFunctionisDropTarget
()
packages/react/src/sortable/useSortable.ts:141
↓ 3 callersFunctionisSafari
()
packages/dom/src/utilities/execution-context/isSafari.ts:1
↓ 3 callersFunctionisShadowRoot
(target: EventTarget | null)
packages/dom/src/utilities/type-guards/isShadowRoot.ts:4
↓ 3 callersFunctionisTableRow
(element: Element)
packages/dom/src/core/plugins/feedback/utilities.ts:139
↓ 3 callersFunctionnormalizePath
(path: string | undefined)
apps/docs/src/components/Assistant/ChatResponse.tsx:19
↓ 3 callersFunctionopenInAIProvider
(provider: keyof typeof AI_PROVIDER_URLS)
apps/docs/src/hooks/useContextualOptions.ts:25
↓ 3 callersFunctionopenSandbox
(sandboxId: string, mainFile?: string)
packages/storybook-addon-codesandbox/src/define.ts:48
↓ 3 callersFunctionopenStackBlitz
( files: Record<string, SandboxFile>, options?: {title?: string; template?: string; openFile?: string} )
packages/storybook-addon-codesandbox/src/define.ts:68
↓ 3 callersFunctionprefersReducedMotion
(window: Window)
packages/dom/src/utilities/execution-context/prefersReducedMotion.ts:1
↓ 3 callersFunctionselectResult
(item: SearchItem)
apps/docs/src/components/SearchBar.tsx:177
↓ 3 callersFunctionsnapshot
(value: T)
packages/state/src/snapshot.ts:3
↓ 3 callersFunctiontarget
()
packages/svelte/src/core/hooks/createDragOperation.ts:12
↓ 3 callersFunctiontime
()
packages/dom/src/utilities/scheduling/throttle.ts:7
↓ 3 callersFunctiontoValueDeep
(input: MaybeRefsOrGetters<T>)
packages/vue/src/utilities/ref.ts:4
↓ 3 callersFunctionuseDragDropManager
()
packages/react/src/core/hooks/useDragDropManager.ts:7
↓ 3 callersFunctionuseDroppable
( input: UseDroppableInput<T> )
packages/solid/src/core/droppable/useDroppable.ts:14
↓ 3 callersFunctionuseInstance
( initializer: (manager: DragDropManager<any, any> | undefined) => T )
packages/react/src/core/hooks/useInstance.ts:15
↓ 3 callersFunctionuseInstance
( initializer: (manager: DragDropManager | undefined) => T )
packages/solid/src/core/hooks/useInstance.ts:12
↓ 3 callersFunctionuseInstance
( initializer: (manager: DragDropManager | undefined) => T )
packages/vue/src/core/hooks/useInstance.ts:12
↓ 2 callersFunctionApp
()
apps/stories-vanilla/stories/Sortable/SortableApp.ts:4
↓ 2 callersFunctionApp
()
apps/stories-vanilla/stories/Sortable/Horizontal/HorizontalSortableApp.ts:4
↓ 2 callersMethodabort
()
packages/dom/src/core/sensors/pointer/DistanceConstraint.ts:51
↓ 2 callersMethodaccepts
* Checks whether or not the droppable accepts a given draggable. * * @param draggable - The draggable to check * @returns true if the draggab
packages/abstract/src/core/entities/droppable/droppable.ts:89
↓ 2 callersMethodanimate
()
packages/dom/src/sortable/sortable.ts:263
↓ 2 callersFunctionanimateTransform
({element, keyframes, options}: Arguments)
packages/dom/src/utilities/transform/animateTransform.ts:7
↓ 2 callersMethodapply
({shape, transform}: DragOperation)
packages/dom/src/modifiers/RestrictToWindow.ts:39
↓ 2 callersMethodbind
(target: EventTarget | EventTarget[], input: EventListenerInput)
packages/dom/src/utilities/event-listeners/Listeners.ts:16
↓ 2 callersFunctionbuildTree
(flattenedItems: FlattenedItem[])
apps/stories/stories/react/Sortable/Tree/utilities.ts:19
↓ 2 callersFunctionclassNames
(...classes: (string | boolean | undefined | null)[])
apps/stories/stories/react/Resizeable/Resizeable.tsx:393
↓ 2 callersFunctioncomputeStyles
(element: Element)
packages/dom/src/utilities/styles/getComputedStyles.ts:31
↓ 2 callersFunctioncomputeTranslate
( element: Element, translate = getComputedStyles(element).translate, projected = true )
packages/dom/src/utilities/transform/computeTranslate.ts:6
↓ 2 callersFunctioncropTop
(img, topPx)
apps/docs/scripts/diff-screenshots.mjs:157
↓ 2 callersFunctiondefaultCollisionDetection
(args)
packages/collision/src/algorithms/default.ts:12
↓ 2 callersFunctiondownload
(src: string, filename: string)
apps/docs/src/components/LogoContextMenu.ts:50
↓ 2 callersFunctionescapeRegExp
(escape: string)
packages/dom/src/core/sensors/drag/encoding.ts:17
↓ 2 callersFunctionflush
Flush microtasks so async stop/reset logic completes
packages/abstract/tests/drag-event-order.test.ts:13
↓ 2 callersMethodforceUpdate
* Forces an immediate update of collision detection. * * @param immediate - If true, updates collisions immediately. If false, resets previous c
packages/abstract/src/core/collision/observer.ts:82
↓ 2 callersMethodfrom
({top, left, width, height}: BoundingRectangle)
packages/geometry/src/shapes/Rectangle.ts:119
↓ 2 callersFunctiongetCellWidths
()
apps/stories/tests/sortable-table.spec.ts:44
↓ 2 callersFunctiongetCode
()
apps/docs/src/components/PreElement.tsx:19
← previousnext →101–200 of 995, ranked by callers