MCPcopy Create free account

hub / github.com/ReactTooltip/react-tooltip / functions

Functions211 in github.com/ReactTooltip/react-tooltip

↓ 10 callersFunctionflushPendingTimers
()
src/test/test-utils.js:11
↓ 8 callersFunctionwaitForTooltip
(id)
src/test/test-utils.js:50
↓ 7 callersFunctioninstallMockMutationObserver
()
src/test/mutation-observer-test-utils.js:3
↓ 6 callersFunctionadvanceTimers
(ms = 0)
src/test/test-utils.js:5
↓ 5 callersFunctionclearTimeoutRef
(ref: React.RefObject<NodeJS.Timeout | null>)
src/utils/clear-timeout-ref.ts:1
↓ 5 callersMethoddisconnect
()
src/test/tooltip-observers.spec.js:26
↓ 4 callersFunctionhoverAnchor
(anchor, ms = 0)
src/test/test-utils.js:32
↓ 3 callersFunctionactiveAnchorContainsTarget
(event?: Event)
src/components/Tooltip/use-tooltip-events.tsx:315
↓ 3 callersFunctionaddDelegatedListener
( eventType: string, listener: (event: Event) => void, options?: AddEventListenerOptions,
src/components/Tooltip/use-tooltip-events.tsx:307
↓ 3 callersFunctionfireWithTimers
(callback, ms = 0)
src/test/test-utils.js:23
↓ 3 callersFunctionflushMicrotasks
()
src/test/test-utils.js:17
↓ 3 callersFunctionformatDuration
(ms)
benchmarks/run-scaling-series.mjs:52
↓ 3 callersFunctionnextFrame
()
benchmarks/fixture/app.tsx:70
↓ 3 callersMethodobserve
()
src/test/tooltip-observers.spec.js:21
↓ 3 callersFunctionparseDataTooltipIdSelector
(selector: string)
src/utils/parse-data-tooltip-id-selector.ts:1
↓ 3 callersMethodrender
()
example/src/App.js:40
↓ 3 callersFunctionsubscribeAnchorSelector
(selector: string, subscriber: AnchorRegistrySubscriber)
src/components/Tooltip/anchor-registry.ts:209
↓ 3 callersFunctionunhoverAnchor
(anchor, ms = 0)
src/test/test-utils.js:38
↓ 3 callersFunctionwaitForTooltipToClose
(id)
src/test/test-utils.js:57
↓ 2 callersFunctionaggregateNumbers
(values)
benchmarks/run-benchmark.mjs:38
↓ 2 callersFunctioncollectGarbage
()
benchmarks/fixture/app.tsx:76
↓ 2 callersFunctioncomputeTooltipPosition
({ elementReference = null, tooltipReference = null, tooltipArrowReference = null, place = 'top', of
src/utils/compute-tooltip-position.ts:8
↓ 2 callersFunctioncssTimeToMs
(time: string)
src/utils/css-time-to-ms.ts:1
↓ 2 callersFunctiondebounce
( func: (...args: A) => void, wait?: number, immediate?: boolean, )
src/utils/debounce.ts:8
↓ 2 callersFunctiondebouncedHandleHideTooltip
()
src/components/Tooltip/use-tooltip-events.tsx:322
↓ 2 callersFunctiondebouncedHandleShowTooltip
(anchor: Element | null)
src/components/Tooltip/use-tooltip-events.tsx:318
↓ 2 callersFunctiondetach
()
src/components/Tooltip/focus-open.ts:86
↓ 2 callersFunctiongetAriaDescribedBy
(element: Element | null)
src/components/Tooltip/Tooltip.tsx:144
↓ 2 callersFunctiongetDataAttributesFromAnchorElement
(elementReference: Element)
src/components/TooltipController/TooltipController.tsx:79
↓ 2 callersFunctiongetListenerKey
(eventType: string, capture: boolean)
src/components/Tooltip/event-delegation.ts:22
↓ 2 callersFunctiongetScrollParent
(node: Element | null)
src/utils/get-scroll-parent.ts:12
↓ 2 callersFunctiongetTooltip
()
src/test/tooltip-removal.spec.js:28
↓ 2 callersFunctioninjectStyle
* 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 callersFunctionisJSDOM
()
src/components/Tooltip/focus-open.ts:23
↓ 2 callersFunctionisMacSafari
()
src/components/Tooltip/focus-open.ts:27
↓ 2 callersFunctionisScrollable
(node: Element)
src/utils/get-scroll-parent.ts:1
↓ 2 callersFunctionlogProgress
(message)
benchmarks/run-benchmark.mjs:128
↓ 2 callersFunctionlogSeries
(message)
benchmarks/run-scaling-series.mjs:68
↓ 2 callersFunctionparsePort
(args = process.argv.slice(2), defaultPort = DEFAULT_PORT)
scripts/dev-port.mjs:17
↓ 2 callersFunctionreadAnchorsForSelector
(selector: string)
src/components/Tooltip/anchor-registry.ts:29
↓ 2 callersFunctionreadUsedHeapBytes
()
benchmarks/fixture/app.tsx:60
↓ 2 callersFunctionrefreshEntry
(selector: string, entry: AnchorRegistryEntry)
src/components/Tooltip/anchor-registry.ts:47
↓ 2 callersFunctionrenderFixture
(nextState: FixtureState)
benchmarks/fixture/app.tsx:146
↓ 2 callersFunctionresetAnchorRegistry
()
src/components/Tooltip/anchor-registry.ts:242
↓ 2 callersFunctionrunCommand
(command, commandArgs, { label } = {})
benchmarks/run-scaling-series.mjs:102
↓ 2 callersFunctionscheduleClearRestoredFocus
()
src/components/Tooltip/focus-open.ts:70
↓ 2 callersFunctionwaitForTooltipToStopShowing
(id)
src/test/test-utils.js:63
↓ 1 callersFunctionAutoBetaRelease
()
beta-release.js:25
↓ 1 callersFunctionaddDelegatedEventListener
( eventType: string, handler: Handler, options: AddEventListenerOptions = {}, )
src/components/Tooltip/event-delegation.ts:47
↓ 1 callersFunctionaddDelegatedHoverCloseListener
()
src/components/Tooltip/use-tooltip-events.tsx:341
↓ 1 callersFunctionaddDelegatedHoverOpenListener
()
src/components/Tooltip/use-tooltip-events.tsx:327
↓ 1 callersFunctionaggregateNumbers
(values)
benchmarks/aggregate-benchmarks.mjs:16
↓ 1 callersFunctionaggregateVersion
(samples)
benchmarks/run-benchmark.mjs:292
↓ 1 callersFunctionaggregateVersion
(version)
benchmarks/aggregate-benchmarks.mjs:190
↓ 1 callersFunctionareAnchorListsEqual
(left: Element[], right: Element[])
src/components/Tooltip/anchor-registry.ts:21
↓ 1 callersFunctionbuildMarkdownReport
(result)
benchmarks/run-benchmark.mjs:100
↓ 1 callersFunctionbuildMarkdownReport
(result)
benchmarks/aggregate-benchmarks.mjs:142
↓ 1 callersFunctionbuildRunTasks
(totalRuns)
benchmarks/run-scaling-series.mjs:138
↓ 1 callersFunctioncleanupDocumentObserverIfUnused
()
src/components/Tooltip/anchor-registry.ts:200
↓ 1 callersFunctionclickAnchor
(anchor, ms = 0)
src/test/test-utils.js:44
↓ 1 callersFunctioncollectAffectedTooltipIds
* 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 callersFunctioncreateBenchmarkPage
()
benchmarks/run-benchmark.mjs:209
↓ 1 callersFunctioncssMinifier
(css)
rollup-plugins/replace-before-save-file.js:4
↓ 1 callersFunctiondeepEqual
(object1: unknown, object2: unknown)
src/utils/deep-equal.ts:5
↓ 1 callersFunctiondescribedBy
(anchor)
src/test/tooltip-focus-visible.spec.js:16
↓ 1 callersFunctiondetectMacSafari
()
src/components/Tooltip/focus-open.ts:34
↓ 1 callersFunctionensureDocumentObserver
()
src/components/Tooltip/anchor-registry.ts:181
↓ 1 callersFunctionensureFixtureBundle
()
benchmarks/run-benchmark.mjs:145
↓ 1 callersFunctionexpectTooltipToShow
(tooltip)
src/test/tooltip-removal.spec.js:36
↓ 1 callersFunctionfireOpacityTransitionEnd
(tooltip)
src/test/tooltip-removal.spec.js:30
↓ 1 callersFunctionfocusAndFlush
(anchor, init)
src/test/tooltip-focus-visible.spec.js:65
↓ 1 callersFunctionformatBytes
(value)
benchmarks/run-benchmark.mjs:96
↓ 1 callersFunctionformatBytes
(value)
benchmarks/aggregate-benchmarks.mjs:76
↓ 1 callersFunctionformatDeltaMs
(value: number)
docs/src/pages/benchmark.tsx:6
↓ 1 callersFunctionformatMemory
(value: number)
docs/src/pages/benchmark.tsx:11
↓ 1 callersFunctionformatMs
(value)
benchmarks/run-benchmark.mjs:92
↓ 1 callersFunctionformatMs
(value)
benchmarks/aggregate-benchmarks.mjs:72
↓ 1 callersFunctionformatPercent
(value: number)
docs/src/pages/benchmark.tsx:22
↓ 1 callersFunctionformatPercent
(value)
benchmarks/aggregate-benchmarks.mjs:80
↓ 1 callersFunctiongatherIds
(nodes: NodeList)
src/components/Tooltip/anchor-registry.ts:150
↓ 1 callersFunctiongetAnchorSelector
({ id, anchorSelect, imperativeAnchorSelect, }: { id?: string anchorSelect?: string imperativeAnch
src/components/Tooltip/use-tooltip-anchors.tsx:4
↓ 1 callersFunctiongetDeltaClass
(value: number)
docs/src/pages/benchmark.tsx:26
↓ 1 callersFunctiongetMissedTransitionDelay
(tooltip: HTMLElement | null)
src/components/Tooltip/use-tooltip-removal.tsx:10
↓ 1 callersFunctiongetObserver
()
src/components/TooltipController/shared-attribute-observer.ts:19
↓ 1 callersFunctiongetOrCreateListener
(eventType: string, capture: boolean)
src/components/Tooltip/event-delegation.ts:26
↓ 1 callersFunctiongetRunGeneration
(run)
benchmarks/aggregate-benchmarks.mjs:88
↓ 1 callersFunctiongetTooltip
()
src/test/tooltip-closing-transition.spec.js:22
↓ 1 callersFunctiongetVersionMainDoc
(version)
docs/src/theme/DocVersionBanner/index.js:85
↓ 1 callersFunctionhandlePositionClick
(event)
src/App.tsx:14
↓ 1 callersFunctionhoverAndFindTooltip
(anchorText = 'Hover Me')
src/test/tooltip-styling.spec.js:18
↓ 1 callersFunctioninstallBrowserFocusVisible
(focusVisible)
src/test/tooltip-focus-visible.spec.js:23
↓ 1 callersFunctioninstallMacSafari
()
src/test/tooltip-focus-visible.spec.js:39
↓ 1 callersFunctionisObject
(object: unknown)
src/utils/deep-equal.ts:1
↓ 1 callersFunctionisTypeableElement
(element: EventTarget | null)
src/components/Tooltip/focus-open.ts:46
↓ 1 callersFunctionisWindowRestoredFocus
(target: EventTarget | null)
src/components/Tooltip/focus-open.ts:133
↓ 1 callersFunctionlog
(message)
prebuild.js:19
↓ 1 callersFunctionmain
()
benchmarks/run-benchmark.mjs:177
↓ 1 callersFunctionmain
()
benchmarks/run-scaling-series.mjs:204
↓ 1 callersFunctionmain
()
benchmarks/aggregate-benchmarks.mjs:165
↓ 1 callersFunctionnotifySubscribers
(entry: AnchorRegistryEntry)
src/components/Tooltip/anchor-registry.ts:43
next →1–100 of 211, ranked by callers