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}

combinecljs

(combine & transitions)

continue!cljs

(continue! animator)

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
raw docstring

fade-incljs

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

fade-outcljs

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

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

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
raw docstring

setupcljs

(setup duration elements)

startcljs

(start duration elements)

togglecljs

(toggle attr from to)

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
raw docstring

translate-xcljs

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

translate-ycljs

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

vendor-prefixcljs


vendor-transformcljs

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

× close