MCPcopy
hub / github.com/nilbuild/driver.js / cssDuration

Function cssDuration

tests/animation.test.ts:21–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19// The library drives the CSS fade via a custom property on <body> so a single
20// `duration` config controls both the JS stage slide and the CSS fade-in.
21const cssDuration = () => document.body.style.getPropertyValue("--driver-animation-duration");
22
23describe("animation duration", () => {
24 it("defaults to 400ms", () => {

Callers 1

animation.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…