Skip to content

miraj-project/polymer-neon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

polymer.neon

Polymer Neon clojure functions

usage

latest version

mappings

objects

(require '(polymer [neon :as neon]))
(neon/animatable ...) => <neon-animatable>
(neon/pages ...)      => <neon-animated-pages>
(neon/animation ...) => <neon-animation>
(neon/animations ...) => <neon-animations>

animations

(require '(polymer.neon [animations :as anim]))
(anim/cascaded ...) => <cascaded-animation>
(anim/fade-in ...) => <fade-in-animation>
(anim/fade-out ...) => <fade-out-animation>
(anim/hero ...) => <hero-animation>
(anim/opaque ...) => <opaque-animation>
(anim/reverse-ripple ...) => <reverse-ripple-animation>
(anim/ripple ...) => <ripple-animation>
(anim/scale-down ...) => <scale-down-animation>
(anim/scale-up ...) => <scale-up-animation>
(anim/slide-down ...) => <slide-down-animation>
(anim/slide-up ...) => <slide-up-animation>
(anim/slide-left ...) => <slide-left-animation>
(anim/slide-right ...) => <slide-right-animation>
(anim/slide-from-left ...) => <slide-from-left-animation>
(anim/slide-from-right ...) => <slide-from-right-animation>
(anim/transform ...) => <transform-animation>

behaviors

(require '(polymer.neon [behaviors :as beh]))
(beh/animatable ...) => <neon-animatable-behavior>
(beh/animation ...)  => <neon-animation-behavior>
(beh/animation-runner ...)  => <neon-animation-runner-behavior>
(beh/shared-animatable ...) => <neon-shared-element-animatable-behavior>
(beh/shared-animation ...)  => <neon-shared-element-animatable-behavior>