Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ReactTooltip/react-tooltip
/ functions
Functions
211 in github.com/ReactTooltip/react-tooltip
⨍
Functions
211
◇
Types & classes
18
↓ 10 callers
Function
flushPendingTimers
()
src/test/test-utils.js:11
↓ 8 callers
Function
waitForTooltip
(id)
src/test/test-utils.js:50
↓ 7 callers
Function
installMockMutationObserver
()
src/test/mutation-observer-test-utils.js:3
↓ 6 callers
Function
advanceTimers
(ms = 0)
src/test/test-utils.js:5
↓ 5 callers
Function
clearTimeoutRef
(ref: React.RefObject<NodeJS.Timeout | null>)
src/utils/clear-timeout-ref.ts:1
↓ 5 callers
Method
disconnect
()
src/test/tooltip-observers.spec.js:26
↓ 4 callers
Function
hoverAnchor
(anchor, ms = 0)
src/test/test-utils.js:32
↓ 3 callers
Function
activeAnchorContainsTarget
(event?: Event)
src/components/Tooltip/use-tooltip-events.tsx:315
↓ 3 callers
Function
addDelegatedListener
( eventType: string, listener: (event: Event) => void, options?: AddEventListenerOptions,
src/components/Tooltip/use-tooltip-events.tsx:307
↓ 3 callers
Function
fireWithTimers
(callback, ms = 0)
src/test/test-utils.js:23
↓ 3 callers
Function
flushMicrotasks
()
src/test/test-utils.js:17
↓ 3 callers
Function
formatDuration
(ms)
benchmarks/run-scaling-series.mjs:52
↓ 3 callers
Function
nextFrame
()
benchmarks/fixture/app.tsx:70
↓ 3 callers
Method
observe
()
src/test/tooltip-observers.spec.js:21
↓ 3 callers
Function
parseDataTooltipIdSelector
(selector: string)
src/utils/parse-data-tooltip-id-selector.ts:1
↓ 3 callers
Method
render
()
example/src/App.js:40
↓ 3 callers
Function
subscribeAnchorSelector
(selector: string, subscriber: AnchorRegistrySubscriber)
src/components/Tooltip/anchor-registry.ts:209
↓ 3 callers
Function
unhoverAnchor
(anchor, ms = 0)
src/test/test-utils.js:38
↓ 3 callers
Function
waitForTooltipToClose
(id)
src/test/test-utils.js:57
↓ 2 callers
Function
aggregateNumbers
(values)
benchmarks/run-benchmark.mjs:38
↓ 2 callers
Function
collectGarbage
()
benchmarks/fixture/app.tsx:76
↓ 2 callers
Function
computeTooltipPosition
({ elementReference = null, tooltipReference = null, tooltipArrowReference = null, place = 'top', of
src/utils/compute-tooltip-position.ts:8
↓ 2 callers
Function
cssTimeToMs
(time: string)
src/utils/css-time-to-ms.ts:1
↓ 2 callers
Function
debounce
( func: (...args: A) => void, wait?: number, immediate?: boolean, )
src/utils/debounce.ts:8
↓ 2 callers
Function
debouncedHandleHideTooltip
()
src/components/Tooltip/use-tooltip-events.tsx:322
↓ 2 callers
Function
debouncedHandleShowTooltip
(anchor: Element | null)
src/components/Tooltip/use-tooltip-events.tsx:318
↓ 2 callers
Function
detach
()
src/components/Tooltip/focus-open.ts:86
↓ 2 callers
Function
getAriaDescribedBy
(element: Element | null)
src/components/Tooltip/Tooltip.tsx:144
↓ 2 callers
Function
getDataAttributesFromAnchorElement
(elementReference: Element)
src/components/TooltipController/TooltipController.tsx:79
↓ 2 callers
Function
getListenerKey
(eventType: string, capture: boolean)
src/components/Tooltip/event-delegation.ts:22
↓ 2 callers
Function
getScrollParent
(node: Element | null)
src/utils/get-scroll-parent.ts:12
↓ 2 callers
Function
getTooltip
()
src/test/tooltip-removal.spec.js:28
↓ 2 callers
Function
injectStyle
* Note about `state` parameter: * This parameter is used to keep track of the state of the styles * into the tests since the const `injected` is not
src/utils/handle-style.ts:16
↓ 2 callers
Function
isJSDOM
()
src/components/Tooltip/focus-open.ts:23
↓ 2 callers
Function
isMacSafari
()
src/components/Tooltip/focus-open.ts:27
↓ 2 callers
Function
isScrollable
(node: Element)
src/utils/get-scroll-parent.ts:1
↓ 2 callers
Function
logProgress
(message)
benchmarks/run-benchmark.mjs:128
↓ 2 callers
Function
logSeries
(message)
benchmarks/run-scaling-series.mjs:68
↓ 2 callers
Function
parsePort
(args = process.argv.slice(2), defaultPort = DEFAULT_PORT)
scripts/dev-port.mjs:17
↓ 2 callers
Function
readAnchorsForSelector
(selector: string)
src/components/Tooltip/anchor-registry.ts:29
↓ 2 callers
Function
readUsedHeapBytes
()
benchmarks/fixture/app.tsx:60
↓ 2 callers
Function
refreshEntry
(selector: string, entry: AnchorRegistryEntry)
src/components/Tooltip/anchor-registry.ts:47
↓ 2 callers
Function
renderFixture
(nextState: FixtureState)
benchmarks/fixture/app.tsx:146
↓ 2 callers
Function
resetAnchorRegistry
()
src/components/Tooltip/anchor-registry.ts:242
↓ 2 callers
Function
runCommand
(command, commandArgs, { label } = {})
benchmarks/run-scaling-series.mjs:102
↓ 2 callers
Function
scheduleClearRestoredFocus
()
src/components/Tooltip/focus-open.ts:70
↓ 2 callers
Function
waitForTooltipToStopShowing
(id)
src/test/test-utils.js:63
↓ 1 callers
Function
AutoBetaRelease
()
beta-release.js:25
↓ 1 callers
Function
addDelegatedEventListener
( eventType: string, handler: Handler, options: AddEventListenerOptions = {}, )
src/components/Tooltip/event-delegation.ts:47
↓ 1 callers
Function
addDelegatedHoverCloseListener
()
src/components/Tooltip/use-tooltip-events.tsx:341
↓ 1 callers
Function
addDelegatedHoverOpenListener
()
src/components/Tooltip/use-tooltip-events.tsx:327
↓ 1 callers
Function
aggregateNumbers
(values)
benchmarks/aggregate-benchmarks.mjs:16
↓ 1 callers
Function
aggregateVersion
(samples)
benchmarks/run-benchmark.mjs:292
↓ 1 callers
Function
aggregateVersion
(version)
benchmarks/aggregate-benchmarks.mjs:190
↓ 1 callers
Function
areAnchorListsEqual
(left: Element[], right: Element[])
src/components/Tooltip/anchor-registry.ts:21
↓ 1 callers
Function
buildMarkdownReport
(result)
benchmarks/run-benchmark.mjs:100
↓ 1 callers
Function
buildMarkdownReport
(result)
benchmarks/aggregate-benchmarks.mjs:142
↓ 1 callers
Function
buildRunTasks
(totalRuns)
benchmarks/run-scaling-series.mjs:138
↓ 1 callers
Function
cleanupDocumentObserverIfUnused
()
src/components/Tooltip/anchor-registry.ts:200
↓ 1 callers
Function
clickAnchor
(anchor, ms = 0)
src/test/test-utils.js:44
↓ 1 callers
Function
collectAffectedTooltipIds
* Collect tooltip IDs from mutation records. Returns null when targeted * analysis is not worthwhile (few registry entries, or too many nodes to scan
src/components/Tooltip/anchor-registry.ts:131
↓ 1 callers
Function
createBenchmarkPage
()
benchmarks/run-benchmark.mjs:209
↓ 1 callers
Function
cssMinifier
(css)
rollup-plugins/replace-before-save-file.js:4
↓ 1 callers
Function
deepEqual
(object1: unknown, object2: unknown)
src/utils/deep-equal.ts:5
↓ 1 callers
Function
describedBy
(anchor)
src/test/tooltip-focus-visible.spec.js:16
↓ 1 callers
Function
detectMacSafari
()
src/components/Tooltip/focus-open.ts:34
↓ 1 callers
Function
ensureDocumentObserver
()
src/components/Tooltip/anchor-registry.ts:181
↓ 1 callers
Function
ensureFixtureBundle
()
benchmarks/run-benchmark.mjs:145
↓ 1 callers
Function
expectTooltipToShow
(tooltip)
src/test/tooltip-removal.spec.js:36
↓ 1 callers
Function
fireOpacityTransitionEnd
(tooltip)
src/test/tooltip-removal.spec.js:30
↓ 1 callers
Function
focusAndFlush
(anchor, init)
src/test/tooltip-focus-visible.spec.js:65
↓ 1 callers
Function
formatBytes
(value)
benchmarks/run-benchmark.mjs:96
↓ 1 callers
Function
formatBytes
(value)
benchmarks/aggregate-benchmarks.mjs:76
↓ 1 callers
Function
formatDeltaMs
(value: number)
docs/src/pages/benchmark.tsx:6
↓ 1 callers
Function
formatMemory
(value: number)
docs/src/pages/benchmark.tsx:11
↓ 1 callers
Function
formatMs
(value)
benchmarks/run-benchmark.mjs:92
↓ 1 callers
Function
formatMs
(value)
benchmarks/aggregate-benchmarks.mjs:72
↓ 1 callers
Function
formatPercent
(value: number)
docs/src/pages/benchmark.tsx:22
↓ 1 callers
Function
formatPercent
(value)
benchmarks/aggregate-benchmarks.mjs:80
↓ 1 callers
Function
gatherIds
(nodes: NodeList)
src/components/Tooltip/anchor-registry.ts:150
↓ 1 callers
Function
getAnchorSelector
({ id, anchorSelect, imperativeAnchorSelect, }: { id?: string anchorSelect?: string imperativeAnch
src/components/Tooltip/use-tooltip-anchors.tsx:4
↓ 1 callers
Function
getDeltaClass
(value: number)
docs/src/pages/benchmark.tsx:26
↓ 1 callers
Function
getMissedTransitionDelay
(tooltip: HTMLElement | null)
src/components/Tooltip/use-tooltip-removal.tsx:10
↓ 1 callers
Function
getObserver
()
src/components/TooltipController/shared-attribute-observer.ts:19
↓ 1 callers
Function
getOrCreateListener
(eventType: string, capture: boolean)
src/components/Tooltip/event-delegation.ts:26
↓ 1 callers
Function
getRunGeneration
(run)
benchmarks/aggregate-benchmarks.mjs:88
↓ 1 callers
Function
getTooltip
()
src/test/tooltip-closing-transition.spec.js:22
↓ 1 callers
Function
getVersionMainDoc
(version)
docs/src/theme/DocVersionBanner/index.js:85
↓ 1 callers
Function
handlePositionClick
(event)
src/App.tsx:14
↓ 1 callers
Function
hoverAndFindTooltip
(anchorText = 'Hover Me')
src/test/tooltip-styling.spec.js:18
↓ 1 callers
Function
installBrowserFocusVisible
(focusVisible)
src/test/tooltip-focus-visible.spec.js:23
↓ 1 callers
Function
installMacSafari
()
src/test/tooltip-focus-visible.spec.js:39
↓ 1 callers
Function
isObject
(object: unknown)
src/utils/deep-equal.ts:1
↓ 1 callers
Function
isTypeableElement
(element: EventTarget | null)
src/components/Tooltip/focus-open.ts:46
↓ 1 callers
Function
isWindowRestoredFocus
(target: EventTarget | null)
src/components/Tooltip/focus-open.ts:133
↓ 1 callers
Function
log
(message)
prebuild.js:19
↓ 1 callers
Function
main
()
benchmarks/run-benchmark.mjs:177
↓ 1 callers
Function
main
()
benchmarks/run-scaling-series.mjs:204
↓ 1 callers
Function
main
()
benchmarks/aggregate-benchmarks.mjs:165
↓ 1 callers
Function
notifySubscribers
(entry: AnchorRegistryEntry)
src/components/Tooltip/anchor-registry.ts:43
next →
1–100 of 211, ranked by callers