0.3.1 • Published 9 years ago

velocitytransitiongroup v0.3.1

Weekly downloads
3
License
ISC
Repository
github
Last release
9 years ago

##VelocityTransitionGroup 0.3.1

Getting close to version 1 as well as actual documentation and live samples. Check example for now.*

###Run Example npm install npm run dev

open your browser and visit: http://localhost:8080/

###Example Usage <VelocityTransitionGroup / pass desired html tag / component="ul"

    /* either pass true or another string for a seperate transition on load */
    appear="transition.bounceIn"
    
    /* transition upon entering DOM, notice we can pass properties as well as forecfeed the values instead of a predefined animation */
    enter={{opacity: [0, 1]}}
    
    /* if not set, no transition out should happen on leave */
    leave="transition.fadeOut"
    
    /* pass true to animate parent height before transitioning children in */
    wrapper={false}

    /* set default options for all transitions */
    defaults={{
        duration: 300
    }}

    /* or optionally pass in different options per transition */
    appearOptions={{
        stagger: 100,
        etc...
    }}
    enterOptions={{}}
    leaveOptions={{}}
    wrapperOptions={{}}
>
    {items}
</VelocityTransitionGroup>

###Known Bugs Switching between two states callbacks are off and show all elements at one time, need to handle firing at proper times.

If changing state before completing any animation it will lose any references between both and return nothing or get stuck. Need to handle canceling a transition if this happens and return the requested state.

###TODOS Add support for sorting arrays

Check if jQuery is loaded or not since Velocity changes behaivor if it is

0.3.1

9 years ago

0.3.0

9 years ago

0.2.9

9 years ago

0.2.8

9 years ago

0.2.7

9 years ago

0.2.6

9 years ago

0.2.5

9 years ago

0.2.4

9 years ago

0.2.3

9 years ago

0.2.2

9 years ago

0.2.1

9 years ago

0.2.0

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago

0.0.1

9 years ago