MCPcopy Create free account

hub / github.com/atlassian/pragmatic-drag-and-drop / functions

Functions1,563 in github.com/atlassian/pragmatic-drag-and-drop

↓ 8 callersFunctiongetAllColumnDroppableIds
()
packages/react-beautiful-dnd-migration/__tests__/unit/droppable/drop-indicator.test.tsx:85
↓ 8 callersFunctiongetAxisScroll
(container: HTMLElement)
packages/auto-scroll/__tests__/unit/_util.ts:585
↓ 8 callersFunctiongetInitialHistory
( dropTargets: DropTargetRecord[], input: Input = getDefaultInput(), )
packages/core/__tests__/unit/_util.ts:63
↓ 8 callersFunctiongetResponders
()
packages/react-beautiful-dnd-migration/__tests__/unit/multi-context.test.tsx:91
↓ 8 callersFunctiongetScrollChange
({ client, timeSinceLastFrame, engagement, axis, hitbox, edge, isDistanceDampeningEnabled, config, }:
packages/auto-scroll/src/shared/get-scroll-change.ts:74
↓ 8 callersFunctionisOver
(element: HTMLElement)
packages/react-beautiful-dnd-migration/__tests__/unit/droppable/drop-indicator.test.tsx:91
↓ 8 callersFunctionisOver
(element: HTMLElement)
packages/react-beautiful-dnd-migration/__tests__/unit/draggable/placeholder.test.tsx:74
↓ 8 callersMethodsetData
This function is only used to set string items * * @see https://html.spec.whatwg.org/multipage/dnd.html#dom-datatransfer-setdata
packages/unit-testing/src/drag-event-polyfill.ts:298
↓ 8 callersFunctionsetupMocks
({ windowScrollHeight, containerScrollY, }: { windowScrollHeight?: number; containerScrollY?: nu
packages/react-beautiful-dnd-autoscroll/__tests__/unit/auto-scrolling.spec.ts:402
↓ 7 callersFunctionaddFakeDataToEvent
(event: DragEvent)
packages/core/__tests__/unit/external/adapter/exposing-data.spec.ts:46
↓ 7 callersFunctionblock
(args: TOperationArgs)
packages/hitbox/__tests__/unit/list-item.spec.ts:120
↓ 7 callersFunctiondefaultItemRender
(item: Item)
packages/react-beautiful-dnd-migration/__tests__/unit/ported-from-react-beautiful-dnd/unit/integration/_utils/app.tsx:41
↓ 7 callersFunctiongetDistanceThresholds
(container: Rect, axis: Axis)
packages/react-beautiful-dnd-autoscroll/src/internal/get-scroll/get-scroll-on-axis/get-distance-thresholds.ts:14
↓ 7 callersFunctionhasDropIndicator
(droppableId: DroppableId, container: HTMLElement)
packages/react-beautiful-dnd-migration/__tests__/unit/_util.tsx:57
↓ 7 callersFunctionisDraggableData
(data: Record<string | symbol, unknown>)
packages/react-beautiful-dnd-migration/src/draggable/data.tsx:45
↓ 7 callersFunctionsetElementFromPoint
(element: Element | null)
packages/core/__tests__/unit/_util.ts:139
↓ 7 callersFunctionsetup
({ page }: { page: Page })
packages/core/__tests__/playwright/iframe.spec.ts:50
↓ 7 callersFunctionuseSortableField
({ id, index, type, ref, shouldHideNativeDragPreview = false, shouldHideDropIndicatorForNoopTargets = tr
packages/documentation/examples/pieces/subtasks/hooks/use-sortable-field.tsx:51
↓ 7 callersFunctionuseSortableField
({ id, index, type, ref, shouldHideNativeDragPreview = false, shouldHideDropIndicatorForNoopTargets = tr
packages/documentation/examples/pieces/pinned-fields/hooks/use-sortable-field.tsx:49
↓ 6 callersFunctionaddItemsToEvent
({ event, items }: { event: DragEvent; items: SimpleItem[] })
packages/core/__tests__/unit/_util.ts:196
↓ 6 callersFunctionbatchUpdatesForReact16
(callback: () => void)
packages/react-beautiful-dnd-migration/src/utils/batch-updates-for-react-16.tsx:25
↓ 6 callersFunctioncontainsHTML
({ source }: ContainsSource)
packages/core/src/public-utils/external/html.ts:5
↓ 6 callersFunctiondisableNativeDragPreview
({ nativeSetDragImage, }: { nativeSetDragImage: DataTransfer['setDragImage'] | null; })
packages/core/src/public-utils/element/disable-native-drag-preview.ts:27
↓ 6 callersFunctiongetAllColumnDroppableIds
()
packages/react-beautiful-dnd-migration/__tests__/unit/draggable/placeholder.test.tsx:68
↓ 6 callersFunctiongetBubbleOrderedPath
(path: Element[])
packages/core/__tests__/unit/_util.ts:112
↓ 6 callersFunctiongetCardOrder
(page: Page, columnId: string)
packages/documentation/__tests__/playwright/board.spec.ts:20
↓ 6 callersFunctiongetClosestScrollableElement
(el?: Element | null)
packages/react-beautiful-dnd-autoscroll/src/internal/get-closest-scrollable-element.ts:27
↓ 6 callersFunctiongetDropReason
(onDragEnd: jest.Mock)
packages/react-beautiful-dnd-migration/__tests__/unit/ported-from-react-beautiful-dnd/unit/integration/_utils/helpers.tsx:35
↓ 6 callersFunctiongetElementFromPointWithoutHoneypot
(client: Position)
packages/core/src/honey-pot-fix/get-element-from-point-without-honey-pot.ts:5
↓ 6 callersFunctiongetEmptyHistory
(input: Input = getDefaultInput())
packages/core/__tests__/unit/_util.ts:48
↓ 6 callersFunctiongetExpectedComment
({ indent }: { indent: number })
packages/react-beautiful-dnd-migration/codemods/__tests__/migration/warn-about-removed-exports.test.tsx:17
↓ 6 callersFunctiongetExpectedEvents
(movement: AxisMovement)
packages/auto-scroll/__tests__/unit/_util.ts:603
↓ 6 callersFunctiongetPercentage
({ startOfRange, endOfRange, current }: Args)
packages/react-beautiful-dnd-autoscroll/src/internal/get-percentage.ts:9
↓ 6 callersFunctiongetPlaceholder
()
packages/react-beautiful-dnd-migration/__tests__/unit/_util.tsx:35
↓ 6 callersFunctionisSameLocation
(a: DraggableLocation | null, b: DraggableLocation | null)
packages/react-beautiful-dnd-migration/src/drag-drop-context/draggable-location.tsx:134
↓ 6 callersFunctionmakeApi
({ monitor, }: { monitor: (args: MonitorArgs<DragType>) => CleanupFn; })
packages/auto-scroll/src/over-element/make-api.ts:16
↓ 6 callersFunctionresetServerContext
()
packages/react-beautiful-dnd-migration/src/drag-drop-context/index.tsx:53
↓ 6 callersFunctionuseBoardContext
()
packages/documentation/examples/pieces/board/board-context.tsx:44
↓ 6 callersFunctionuseTopLevelWiring
({ initialData, type, shouldPreventUnhandled = true, }: UseToplevelWiringArgs<DataItem>)
packages/documentation/examples/pieces/subtasks/hooks/use-top-level-wiring.tsx:31
↓ 5 callersFunctioncalculateGap
({ element, where, direction, contextId, }: { element: HTMLElement; where: 'before' | 'after'; directio
packages/react-beautiful-dnd-migration/src/droppable/gap/index.tsx:25
↓ 5 callersMethodclear
* Removes all items
packages/unit-testing/src/drag-event-polyfill.ts:130
↓ 5 callersFunctionfindDragHandle
({ contextId, draggableId, }: { contextId: string; draggableId: string; })
packages/react-beautiful-dnd-migration/src/utils/find-drag-handle.tsx:8
↓ 5 callersFunctionfindElement
(...fragments: SelectorFragment[])
packages/react-beautiful-dnd-migration/src/utils/find-element.tsx:36
↓ 5 callersFunctiongetActualDestination
({ start, target, }: { /** * The start location of the draggable. */ start: DraggableLocation; /**
packages/react-beautiful-dnd-migration/src/drag-drop-context/get-destination.tsx:11
↓ 5 callersFunctiongetColumns
({ count }: { count: number })
packages/auto-scroll/examples/pieces/board.tsx:76
↓ 5 callersFunctiongetDistance
({ a, b, direction, }: { a: DOMRect; b: DOMRect; direction: Direction; })
packages/react-beautiful-dnd-migration/src/droppable/gap/get-distance.tsx:23
↓ 5 callersFunctiongetHandle
()
packages/react-beautiful-dnd-migration/__tests__/unit/ported-from-react-beautiful-dnd/unit/integration/responders-integration.test.tsx:97
↓ 5 callersFunctiongetInput
(event: DragEvent)
packages/core/src/util/get-input.ts:3
↓ 5 callersFunctiongetLabel
({ id, eventName, expectedData, }: { id: string; eventName: string; expectedData: Record<string,
packages/core/__tests__/unit/element/changes-during-a-drag.spec.ts:400
↓ 5 callersFunctiongetPosition
(location: DraggableLocation)
packages/react-beautiful-dnd-migration/src/drag-drop-context/screen-reader.tsx:11
↓ 5 callersFunctiongetResponders
()
packages/react-beautiful-dnd-migration/__tests__/unit/virtual.test.tsx:110
↓ 5 callersFunctiongetScrollTop
(locator: Locator)
packages/core/__tests__/playwright/scroll-just-enough-into-view.spec.ts:5
↓ 5 callersFunctiongetSnapshotsFor
(id: DraggableId, mock: jest.Mock)
packages/react-beautiful-dnd-migration/__tests__/unit/ported-from-react-beautiful-dnd/unit/integration/_utils/helpers.tsx:96
↓ 5 callersFunctionisAndroid
()
packages/documentation/examples/pieces/iframe-board/data.ts:104
↓ 5 callersFunctionisCoord
(token: unknown)
packages/documentation/examples/pieces/getting-started/chessboard-colored-drop-targets.tsx:22
↓ 5 callersFunctionisEqualCoord
(c1: Coord, c2: Coord)
packages/documentation/examples/pieces/getting-started/chessboard-monitor.tsx:36
↓ 5 callersFunctionmouseLiftExtended
( handle: HTMLElement, { elementUnderPointer }: { elementUnderPointer: HTMLElement }, )
packages/react-beautiful-dnd-migration/__tests__/unit/ported-from-react-beautiful-dnd/unit/integration/_utils/controls.tsx:39
↓ 5 callersFunctiononDragStart
({ source }: DragStart)
packages/react-beautiful-dnd-migration/src/drag-drop-context/screen-reader.tsx:16
↓ 5 callersFunctionsafeDispatch
(args: Parameters<typeof dispatchEvent>[0])
packages/core/src/ledger/dispatch-consumer-event.ts:64
↓ 5 callersFunctionsetElementFromPointWithPath
(path: Element[])
packages/core/__tests__/unit/_util.ts:126
↓ 5 callersFunctionupdateState
(next: DragLocation)
packages/core/src/ledger/lifecycle-manager.ts:98
↓ 5 callersFunctionuseFlashOnDrop
({ ref, draggableId, type, }: { ref: RefObject<HTMLElement>; draggableId: string; type: string; })
packages/documentation/examples/pieces/hooks/use-flash-on-drop.tsx:9
↓ 5 callersFunctionuseMonitorForLifecycle
()
packages/react-beautiful-dnd-migration/src/drag-drop-context/lifecycle-context.tsx:144
↓ 5 callersFunctionuseTopLevelWiring
({ initialData, type, shouldPreventUnhandled = true, }: UseToplevelWiringArgs<DataItem>)
packages/documentation/examples/pieces/hooks/use-top-level-wiring.tsx:38
↓ 5 callersFunctionvalue
()
packages/react-drop-indicator/__tests__/unit/react-safety.test.tsx:12
↓ 4 callersFunctionannounce
(message: string)
packages/live-region/src/index.tsx:66
↓ 4 callersFunctionclearMocks
()
packages/core/__tests__/unit/honey-pot-fix/event-listeners.spec.ts:16
↓ 4 callersFunctionclearRenderMocks
()
packages/react-beautiful-dnd-migration/__tests__/unit/ported-from-react-beautiful-dnd/unit/integration/reorder-render-sync.test.tsx:123
↓ 4 callersFunctiondragOperation
()
packages/auto-scroll/__tests__/unit/over-element/time-dampening.spec.ts:1909
↓ 4 callersFunctiongetCallCount
(mySpy: jest.SpyInstance)
packages/react-beautiful-dnd-migration/__tests__/unit/ported-from-react-beautiful-dnd/unit/integration/drag-handle/shared-behaviors/cleanup.test.tsx:14
↓ 4 callersFunctiongetCallsFor
(id: DraggableId, mock: jest.Mock)
packages/react-beautiful-dnd-migration/__tests__/unit/ported-from-react-beautiful-dnd/unit/integration/_utils/helpers.tsx:83
↓ 4 callersFunctiongetChangingEffects
(...effects: DropTargetAllowedDropEffect[])
packages/core/__tests__/unit/element/drop-target/drop-effect.spec.ts:144
↓ 4 callersFunctiongetDefaultInput
(overrides: Partial<Input> = {})
packages/auto-scroll/__tests__/unit/_util.ts:15
↓ 4 callersFunctiongetDefaultMessage
( event: Event, data: EventData<Event>, )
packages/react-beautiful-dnd-migration/src/drag-drop-context/screen-reader.tsx:63
↓ 4 callersFunctiongetElementByDraggableLocation
( contextId: string, location: DraggableLocation | null, )
packages/react-beautiful-dnd-migration/src/utils/get-element-by-draggable-location.tsx:6
↓ 4 callersFunctiongetExpectedMessage
({ indent }: { indent: number })
packages/react-beautiful-dnd-migration/codemods/__tests__/migration/migrate-12-to-13.test.tsx:14
↓ 4 callersFunctiongetFirstTextNode
(element: Element)
packages/core/__tests__/unit/_util.ts:274
↓ 4 callersFunctiongetImportDeclarationsForRbd
( j: JSCodeshift, source: Collection<Node>, )
packages/react-beautiful-dnd-migration/codemods/utils.tsx:11
↓ 4 callersFunctiongetIndex
(element: HTMLElement)
packages/react-beautiful-dnd-migration/src/droppable/gap/index.tsx:13
↓ 4 callersFunctiongetInsidePoints
(rect: DOMRect)
packages/auto-scroll/__tests__/unit/_util.ts:440
↓ 4 callersFunctiongetIsDistanceDampeningEnabled
(value: HitboxForEdge)
packages/auto-scroll/src/unsafe-overflow/get-scroll-by.ts:26
↓ 4 callersFunctiongetItem
(page: Page, itemId: string)
packages/documentation/__tests__/playwright/board.spec.ts:10
↓ 4 callersFunctiongetItemPosition
({ index, items }: { index: number; items: Item[] })
packages/documentation/examples/list.tsx:104
↓ 4 callersFunctiongetLookup
()
packages/core/__tests__/unit/element/previous-location-should-match-last-current.spec.ts:16
↓ 4 callersFunctiongetOverElementMainHitboxSize
(edge: Edge)
packages/auto-scroll/__tests__/unit/overflow/cross-axis-hitbox.spec.ts:89
↓ 4 callersFunctiongetPeople
({ amount }: { amount: number })
packages/documentation/examples/data/people/index.tsx:131
↓ 4 callersFunctiongetPersonFromPosition
({ position }: { position: number })
packages/documentation/examples/data/people/index.tsx:108
↓ 4 callersFunctiongetRects
* This is a browser API that is not defined in the testing environment.
packages/react-beautiful-dnd-migration/__tests__/unit/droppable/gap/get-distance.test.tsx:10
↓ 4 callersFunctiongetScrollValue
(overrides?: Args)
packages/react-beautiful-dnd-autoscroll/__tests__/unit/get-scroll/get-value.spec.ts:27
↓ 4 callersFunctiongetSpacingFromProvided
(value: Partial<Spacing> | undefined)
packages/auto-scroll/src/unsafe-overflow/get-scroll-by.ts:30
↓ 4 callersFunctionhasAxisScrolled
(container: HTMLElement, previousScroll: AxisScroll)
packages/auto-scroll/__tests__/unit/_util.ts:592
↓ 4 callersFunctionisCard
(data: Record<string | symbol, unknown>)
packages/documentation/examples/pieces/iframe-board/data.ts:20
↓ 4 callersFunctionisClone
(el: HTMLElement)
packages/react-beautiful-dnd-migration/__tests__/unit/ported-from-react-beautiful-dnd/unit/integration/_utils/helpers.tsx:58
↓ 4 callersFunctionisCoord
(token: unknown)
packages/documentation/examples/pieces/getting-started/chessboard-monitor.tsx:24
↓ 4 callersFunctionisEqualCoord
(c1: Coord, c2: Coord)
packages/documentation/examples/pieces/getting-started/chessboard-colored-drop-targets.tsx:34
↓ 4 callersFunctionisItemData
(data: Record<string | symbol, unknown>)
packages/documentation/examples/virtual-list.tsx:103
↓ 4 callersFunctionisItemData
(data: Record<string | symbol, unknown>)
packages/documentation/examples/list.tsx:100
↓ 4 callersFunctionisOver
(el: HTMLElement)
packages/react-beautiful-dnd-migration/__tests__/unit/ported-from-react-beautiful-dnd/unit/integration/_utils/helpers.tsx:62
↓ 4 callersFunctionisPossible
(...values: Availability[])
packages/hitbox/src/list-item.ts:86
↓ 4 callersFunctionmakeDispatch
(eventName: string)
packages/core/__tests__/unit/_util.ts:349
← previousnext →101–200 of 1,563, ranked by callers