Liking cljdoc? Tell your friends :D
ClojureScript only.

mathbox.primitives.present.play


Playcljs

Play a sequenced animation

:classes [] (string array) - Custom classes, e.g. [\"big\"] :delay 0 (number) - Play delay :ease \"cosine\" (ease) - Animation ease (linear, cosine, binary, hold) :from 0 (number) - Play from :id null (nullable string) - Unique ID, e.g. \"sampler\" :loop false (bool) - Loop :pace 1 (number) - Play pace :realtime false (bool) - Run on real time, not clock time :script {} (object) - Animation script, e.g. { "0": { props: { color: "red" }, expr: { size: function (t) { return Math.sin(t) + 1; }}}, "1": ...} :speed 1 (number) - Play speed :target \"<\" (select) - Animation target :to Infinity (number) - Play until :trigger 1 (nullable number) - Trigger on step

*Play a sequenced animation*

:classes `[]` (string array) - Custom classes, e.g. `[\"big\"]`
:delay `0` (number) - Play delay
:ease `\"cosine\"` (ease) - Animation ease (linear, cosine, binary, hold)
:from `0` (number) - Play from
:id `null` (nullable string) - Unique ID, e.g. `\"sampler\"`
:loop `false` (bool) - Loop
:pace `1` (number) - Play pace
:realtime `false` (bool) - Run on real time, not clock time
:script `{}` (object) - Animation script, e.g. `{ "0": { props: { color: "red" }, expr: { size: function (t) { return Math.sin(t) + 1; }}}, "1": ...}`
:speed `1` (number) - Play speed
:target `\"<\"` (select) - Animation target
:to `Infinity` (number) - Play until
:trigger `1` (nullable number) - Trigger on step
sourceraw docstring

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

× close