Liking cljdoc? Tell your friends :D

shadow.animate


Animationcljsprotocol

-animate-delayscljs

(-animate-delays this)

return a map of {attr transition-delay}

return a map of {attr transition-delay}

-animate-fromcljs

(-animate-from this)

return a map of {attr initial-value}

return a map of {attr initial-value}

-animate-timingscljs

(-animate-timings this)

return a map of {attr timing-function}

return a map of {attr timing-function}

-animate-tocljs

(-animate-to this)

return a map of {attr target-value}

return a map of {attr target-value}

-animate-togglescljs

(-animate-toggles this)

return a map of {attr target-value}

return a map of {attr target-value}
source

AnimationStepcljs

source

Animatorcljs

source

combinecljs

(combine & transitions)
source

continue!cljs

(continue! animator)
source

delete-attrcljs

(delete-attr attr)

use to remove a given attribute style when the animation is finished usually only needed to remove attributes we no longer need since they are probably inherited and we only used for previous transitions

use to remove a given attribute style when the animation is finished
usually only needed to remove attributes we no longer need since they are probably
inherited and we only used for previous transitions
sourceraw docstring

fade-incljs

(fade-in)
(fade-in timing-function)
source

fade-outcljs

(fade-out)
(fade-out timing-function)
source

IAnimatorcljsprotocol

finish!cljs

(finish! animator)

cleanup

cleanup

get-durationcljs

(get-duration animator)

init!cljs

(init! animator)

apply the initial values

apply the initial values

start!cljs

(start! animator)

start the animation, must return a channel that closes once the animation is done

start the animation, must return a channel that closes once the animation is done
source

set-attrcljs

(set-attr attrs)
(set-attr attr value)

set attr to value when the animation starts

set attr to value when the animation starts
sourceraw docstring

setupcljs

(setup duration elements)
source

startcljs

(start duration elements)
source

togglecljs

(toggle attr from to)
source

transitioncljs

(transition attr from to)
(transition attr from to timing)
(transition attr from to timing delay)

transition the given attr from -> to using timing function and delay timing defaults to ease, delay to 0

transition the given attr from -> to using timing function and delay
timing defaults to ease, delay to 0
sourceraw docstring

translate-xcljs

(translate-x from to timing)
(translate-x from to timing delay)
source

translate-ycljs

(translate-y from to timing)
(translate-y from to timing delay)
source

vendor-prefixcljs

source

vendor-transformcljs

source

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

× close