Skip to main content

timing_css_declarations

Function timing_css_declarations 

Source
pub fn timing_css_declarations() -> String
Expand description

Emit the time axis as CSS declarations, no selector.

Moment::Debounce is emitted with the rest even though no stylesheet can use it. One document holds every duration in the system, so a token cannot live here for some moments and in a JS constant for another, and a script can read the value back off the computed style.