MCPcopy Create free account
hub / github.com/arktypeio/arktype / done

Function done

ark/docs/components/shell/ThemeToggle.tsx:52–52  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50 // colors snap rather than fade, so the snapshot is the final frame
51 html.dataset.switching = ""
52 const done = () => delete html.dataset.switching
53 if (!document.startViewTransition || reducedMotion()) {
54 apply()
55 requestAnimationFrame(() => requestAnimationFrame(done))

Callers 3

turbopack.tsFile · 0.85
compilerResolveOfFunction · 0.85
prune.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected