Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/adobe/react-spectrum
/ reset
Method
reset
packages/react-stately/src/toast/useToastState.ts:190–193 ·
view source on GitHub ↗
(delay: number)
Source
from the content-addressed store, hash-verified
188
}
189
190
reset(delay: number): void {
191
this.remaining = delay;
192
this.resume();
193
}
194
195
pause(): void {
196
if
(this.timerId == null) {
Callers
2
useToast
Function · 0.45
ScrollAnchor.test.ts
File · 0.45
Calls
1
resume
Method · 0.95
Tested by
no test coverage detected