MCPcopy Index your code
hub / github.com/adobe/react-spectrum / pauseAll

Method pauseAll

packages/react-stately/src/toast/useToastState.ts:49–49  ·  view source on GitHub ↗

Pauses the timers for all visible toasts.

()

Source from the content-addressed store, hash-verified

47 close(key: string): void;
48 /** Pauses the timers for all visible toasts. */
49 pauseAll(): void;
50 /** Resumes the timers for all visible toasts. */
51 resumeAll(): void;
52 /** The visible toasts. */

Callers 2

useToastRegionFunction · 0.65
useToastQueueFunction · 0.65

Implementers 1

ToastQueuepackages/react-stately/src/toast/useTo

Calls

no outgoing calls

Tested by

no test coverage detected