- Use
cssText
instead of property enumeration when cloning computed styles, for better initial performance - Disable
background-color
andborder-radius
interpolation by default, for faster transitions.interpolateBorderRadius
andinterpolateBackgroundColor
options enable these transformations - Total opacity is preserved (#10)
- Starting opacities are respected (#11)
- Handle pre-existing transforms
- Decompose matrices for natural-looking transforms
- Change
jsnext:main
build to point to Babelified bundle with ES6 export (#45)
- fixed "position: fixed" issues [sithmel]
- added easingScale options [sithmel]
- fixed exceptions fired by IE8 [sithmel]
- added appendToBody, overrideClone options [sithmel]
- added spm support [afc163]
- Extend border-radius morphing to timer-based transformations
- Morph border-radius (#25)
- Internal: add rudimentary test suite
- Add IE9 support (#3). Thanks crohrer!
- Fix Firefox SVG bug
- Account for offsetParent margin
- Tidy up npm package
- Renamed! mogrify is now ramjet
- Using
position: absolute
instead of fixed, so scrolling doesn't mess things up - Added a default duration
- Added a demo page
- Use camel-cased style properties (
animationName
instead ofanimation-name
), for the benefit of older Firefox
- Add
mogrify.show()
andmogrify.hide()
convenience methods
- If possible, and
options.useTimer
is not used, mogrify will use precomputed CSS keyframes to move the work off the main thread. This results in a vastly smoother experience on mobile (and desktop in some cases), at the cost of a slight loss in visual fidelity (which is barely noticeable for animations less than ~500ms)
- Rewrote as ES6 modules
- Started maintaining a changelog