Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/clauderic/dnd-kit
/ functions
Functions
995 in github.com/clauderic/dnd-kit
⨍
Functions
995
◇
Types & classes
325
↓ 4 callers
Method
cleanup
()
packages/dom/src/core/sensors/pointer/PointerSensor.ts:247
↓ 4 callers
Function
createDeepSignal
( getTarget: () => T )
packages/svelte/src/utilities/createDeepSignal.svelte.ts:13
↓ 4 callers
Method
current
()
packages/state/src/history.ts:34
↓ 4 callers
Function
defaultPreventable
( event: T, cancelable = true )
packages/abstract/src/core/manager/events.ts:232
↓ 4 callers
Method
destroy
* 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 callers
Function
draggableTests
(stories: DraggableStories)
apps/stories-shared/tests/draggable.tests.ts:8
↓ 4 callers
Function
droppableTests
(stories: DroppableStories)
apps/stories-shared/tests/droppable.tests.ts:8
↓ 4 callers
Method
equals
* 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 callers
Function
findIndex
(item: Items[0], id: UniqueIdentifier)
packages/helpers/src/move.ts:99
↓ 4 callers
Function
flattenTree
( items: Item[], parentId: string | null = null, depth = 0 )
apps/stories/stories/react/Sortable/Tree/utilities.ts:5
↓ 4 callers
Function
getBoundingRectangle
(element: Element)
packages/dom/src/utilities/bounding-rectangle/getBoundingRectangle.ts:3
↓ 4 callers
Function
getRecordKey
* 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 callers
Function
getRoot
(target: Event['target'] | undefined)
packages/dom/src/utilities/execution-context/getRoot.ts:5
↓ 4 callers
Function
getScrollableAncestors
( element: Node | null, options: Options = defaultOptions )
packages/dom/src/utilities/scroll/getScrollableAncestors.ts:21
↓ 4 callers
Function
getStatusColor
()
packages/storybook-addon-codesandbox/src/preview/codesandbox-button-dom.ts:102
↓ 4 callers
Function
getTheme
()
packages/storybook-addon-codesandbox/src/preview/codesandbox-button-dom.ts:44
↓ 4 callers
Method
handleMove
( direction: 'up' | 'down' | 'left' | 'right', event: KeyboardEvent )
packages/dom/src/core/sensors/keyboard/KeyboardSensor.ts:229
↓ 4 callers
Function
isDocument
(node: Node)
packages/dom/src/utilities/type-guards/isDocument.ts:3
↓ 4 callers
Function
isKeyframeEffect
( effect: AnimationEffect | null | undefined )
packages/dom/src/utilities/type-guards/isKeyframeEffect.ts:1
↓ 4 callers
Function
isWindow
(element: Object)
packages/dom/src/utilities/type-guards/isWindow.ts:1
↓ 4 callers
Function
openAssistant
(codeContext?: CodeContext, query?: string)
apps/docs/src/components/Assistant/events.ts:16
↓ 4 callers
Function
parseTransform
(computedStyles: { scale?: string; transform: string; translate?: string; })
packages/dom/src/utilities/transform/parseTransform.ts:12
↓ 4 callers
Method
setDropTarget
* 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 callers
Function
sort
(instances: Set<Sortable>, sortFn = sortByIndex)
packages/dom/src/sortable/plugins/OptimisticSortingPlugin.ts:229
↓ 4 callers
Function
sortableVerticalTests
(stories: SortableVerticalStories)
apps/stories-shared/tests/sortable-vertical.tests.ts:8
↓ 4 callers
Function
source
()
packages/solid/src/core/draggable/DragOverlay.tsx:41
↓ 4 callers
Function
supportsPopover
(element: Element)
packages/dom/src/utilities/popover/supportsPopover.ts:1
↓ 4 callers
Function
trackRendering
(callback: () => void)
packages/react/src/core/context/renderer.ts:30
↓ 4 callers
Function
trackRendering
(callback: () => void)
packages/solid/src/core/context/renderer.ts:28
↓ 4 callers
Function
trackRendering
(callback: () => void)
packages/vue/src/core/context/renderer.ts:31
↓ 4 callers
Function
useDeepSignal
( target: T, synchronous?: (property: keyof T, oldValue: any, newValue: any) => boolean )
packages/react/src/hooks/useDeepSignal.ts:9
↓ 4 callers
Function
useDeepSignal
( target: Accessor<T> )
packages/solid/src/hooks/useDeepSignal.ts:5
↓ 4 callers
Function
useDragDropManager
()
packages/solid/src/core/hooks/useDragDropManager.ts:5
↓ 4 callers
Function
useDragDropManager
()
packages/vue/src/core/hooks/useDragDropManager.ts:3
↓ 3 callers
Method
abort
(event?: E)
packages/abstract/src/core/sensors/activation.ts:33
↓ 3 callers
Function
activate
* Called when the activation is triggered.
packages/abstract/src/core/sensors/activation.ts:59
↓ 3 callers
Function
arraySwap
( array: T, from: number, to: number )
packages/helpers/src/move.ts:30
↓ 3 callers
Function
classNames
( ...classes: (string | boolean | null | undefined)[] )
apps/stories-shared/utilities/classnames.ts:1
↓ 3 callers
Method
cleanup
()
packages/dom/src/core/plugins/feedback/Feedback.ts:447
↓ 3 callers
Method
cleanup
()
packages/dom/src/core/sensors/keyboard/KeyboardSensor.ts:286
↓ 3 callers
Function
collectFiles
(options: CollectFilesOptions)
packages/storybook-addon-codesandbox/src/collect-files.ts:79
↓ 3 callers
Method
computeCollisions
* 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 callers
Function
createContext
(componentName: string)
packages/vue/src/utilities/context.ts:4
↓ 3 callers
Function
createDebugElement
(tagName = 'div')
packages/dom/src/plugins/debug/debug.ts:137
↓ 3 callers
Function
createDraggable
(id: string | number)
packages/dom/tests/sortable-utilities.test.ts:37
↓ 3 callers
Function
createDroppable
(id: string | number)
packages/dom/tests/sortable-utilities.test.ts:41
↓ 3 callers
Function
createInstance
( initializer: (manager: DragDropManager | undefined) => T )
packages/svelte/src/core/hooks/createInstance.svelte.ts:11
↓ 3 callers
Function
createRange
(length: number)
apps/stories-solid/stories/Sortable/MultipleLists/MultipleListsApp.tsx:8
↓ 3 callers
Function
createRange
(length: number)
apps/stories/stories/react/Sortable/MultipleLists/MultipleListsApp.tsx:10
↓ 3 callers
Function
createSandbox
( files: Record<string, SandboxFile>, template?: string )
packages/storybook-addon-codesandbox/src/define.ts:18
↓ 3 callers
Method
delta
* 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 callers
Function
dragEndEvent
Build a dragend-style event (no preventDefault).
packages/helpers/tests/move.test.ts:55
↓ 3 callers
Function
enumerable
(enumerable: boolean = true)
packages/state/src/decorators.ts:54
↓ 3 callers
Function
exceedsDistance
( {x, y}: Coordinates, distance: Distance )
packages/geometry/src/distance/distance.ts:8
↓ 3 callers
Function
flush
Flush microtasks so async stop/reset logic completes
packages/abstract/tests/manager-modifiers.test.ts:23
↓ 3 callers
Function
flush
()
apps/docs/src/scripts/mintlify-analytics.ts:134
↓ 3 callers
Function
generateUniqueId
(prefix: string)
packages/dom/src/utilities/misc/generateUniqueId.ts:3
↓ 3 callers
Function
getDragDropManager
()
packages/svelte/src/core/hooks/getDragDropManager.ts:3
↓ 3 callers
Method
handleCancel
(event: Event)
packages/dom/src/core/sensors/pointer/PointerSensor.ts:378
↓ 3 callers
Function
hasSortableIndices
* 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 callers
Function
isDropTarget
()
packages/react/src/sortable/useSortable.ts:141
↓ 3 callers
Function
isSafari
()
packages/dom/src/utilities/execution-context/isSafari.ts:1
↓ 3 callers
Function
isShadowRoot
(target: EventTarget | null)
packages/dom/src/utilities/type-guards/isShadowRoot.ts:4
↓ 3 callers
Function
isTableRow
(element: Element)
packages/dom/src/core/plugins/feedback/utilities.ts:139
↓ 3 callers
Function
normalizePath
(path: string | undefined)
apps/docs/src/components/Assistant/ChatResponse.tsx:19
↓ 3 callers
Function
openInAIProvider
(provider: keyof typeof AI_PROVIDER_URLS)
apps/docs/src/hooks/useContextualOptions.ts:25
↓ 3 callers
Function
openSandbox
(sandboxId: string, mainFile?: string)
packages/storybook-addon-codesandbox/src/define.ts:48
↓ 3 callers
Function
openStackBlitz
( files: Record<string, SandboxFile>, options?: {title?: string; template?: string; openFile?: string} )
packages/storybook-addon-codesandbox/src/define.ts:68
↓ 3 callers
Function
prefersReducedMotion
(window: Window)
packages/dom/src/utilities/execution-context/prefersReducedMotion.ts:1
↓ 3 callers
Function
selectResult
(item: SearchItem)
apps/docs/src/components/SearchBar.tsx:177
↓ 3 callers
Function
snapshot
(value: T)
packages/state/src/snapshot.ts:3
↓ 3 callers
Function
target
()
packages/svelte/src/core/hooks/createDragOperation.ts:12
↓ 3 callers
Function
time
()
packages/dom/src/utilities/scheduling/throttle.ts:7
↓ 3 callers
Function
toValueDeep
(input: MaybeRefsOrGetters<T>)
packages/vue/src/utilities/ref.ts:4
↓ 3 callers
Function
useDragDropManager
()
packages/react/src/core/hooks/useDragDropManager.ts:7
↓ 3 callers
Function
useDroppable
( input: UseDroppableInput<T> )
packages/solid/src/core/droppable/useDroppable.ts:14
↓ 3 callers
Function
useInstance
( initializer: (manager: DragDropManager<any, any> | undefined) => T )
packages/react/src/core/hooks/useInstance.ts:15
↓ 3 callers
Function
useInstance
( initializer: (manager: DragDropManager | undefined) => T )
packages/solid/src/core/hooks/useInstance.ts:12
↓ 3 callers
Function
useInstance
( initializer: (manager: DragDropManager | undefined) => T )
packages/vue/src/core/hooks/useInstance.ts:12
↓ 2 callers
Function
App
()
apps/stories-vanilla/stories/Sortable/SortableApp.ts:4
↓ 2 callers
Function
App
()
apps/stories-vanilla/stories/Sortable/Horizontal/HorizontalSortableApp.ts:4
↓ 2 callers
Method
abort
()
packages/dom/src/core/sensors/pointer/DistanceConstraint.ts:51
↓ 2 callers
Method
accepts
* 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 callers
Method
animate
()
packages/dom/src/sortable/sortable.ts:263
↓ 2 callers
Function
animateTransform
({element, keyframes, options}: Arguments)
packages/dom/src/utilities/transform/animateTransform.ts:7
↓ 2 callers
Method
apply
({shape, transform}: DragOperation)
packages/dom/src/modifiers/RestrictToWindow.ts:39
↓ 2 callers
Method
bind
(target: EventTarget | EventTarget[], input: EventListenerInput)
packages/dom/src/utilities/event-listeners/Listeners.ts:16
↓ 2 callers
Function
buildTree
(flattenedItems: FlattenedItem[])
apps/stories/stories/react/Sortable/Tree/utilities.ts:19
↓ 2 callers
Function
classNames
(...classes: (string | boolean | undefined | null)[])
apps/stories/stories/react/Resizeable/Resizeable.tsx:393
↓ 2 callers
Function
computeStyles
(element: Element)
packages/dom/src/utilities/styles/getComputedStyles.ts:31
↓ 2 callers
Function
computeTranslate
( element: Element, translate = getComputedStyles(element).translate, projected = true )
packages/dom/src/utilities/transform/computeTranslate.ts:6
↓ 2 callers
Function
cropTop
(img, topPx)
apps/docs/scripts/diff-screenshots.mjs:157
↓ 2 callers
Function
defaultCollisionDetection
(args)
packages/collision/src/algorithms/default.ts:12
↓ 2 callers
Function
download
(src: string, filename: string)
apps/docs/src/components/LogoContextMenu.ts:50
↓ 2 callers
Function
escapeRegExp
(escape: string)
packages/dom/src/core/sensors/drag/encoding.ts:17
↓ 2 callers
Function
flush
Flush microtasks so async stop/reset logic completes
packages/abstract/tests/drag-event-order.test.ts:13
↓ 2 callers
Method
forceUpdate
* 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 callers
Method
from
({top, left, width, height}: BoundingRectangle)
packages/geometry/src/shapes/Rectangle.ts:119
↓ 2 callers
Function
getCellWidths
()
apps/stories/tests/sortable-table.spec.ts:44
↓ 2 callers
Function
getCode
()
apps/docs/src/components/PreElement.tsx:19
← previous
next →
101–200 of 995, ranked by callers