Liking cljdoc? Tell your friends :D
ClojureScript only.

emmy.viewer.components.stopwatch

Stopwatch component, useful for various animations.

NOTE that this is currently implemented with goog.Timer. For Portal compatibility, I'll back this out soon and rewrite the component using request AnimationFrame.

Stopwatch component, useful for various animations.

NOTE that this is currently implemented with `goog.Timer`. For Portal
compatibility, I'll back this out soon and rewrite the component using request
AnimationFrame.
raw docstring

Stopwatchcljs

(Stopwatch opts)

Wrapper around the function component Stopwatch*.

Wrapper around the function component [[Stopwatch*]].
sourceraw docstring

Stopwatch*cljs

(Stopwatch* _)

Function component for a relative clock. onTick is called with a single arg for seconds.

Function component for a relative clock. `onTick` is called with a single arg
for seconds.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close