Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/ionic-team/ionic-framework
/ nextFrame
Function
nextFrame
core/src/components/router/utils/dom.ts:91–91 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
89
const
FRAGMENT_SCROLL_DURATION = 300;
90
91
const
nextFrame = () =>
new
Promise<void>((resolve) => raf(() => resolve()));
92
93
/**
94
* Returns true when `el` lives inside an active `.ion-page`. `ion-page-hidden`
Callers
2
findFragmentTarget
Function · 0.85
scrollToFragment
Function · 0.85
Calls
2
raf
Function · 0.90
resolve
Function · 0.85
Tested by
no test coverage detected