v0.2.0
Changelog
General
- Update copyright year to 2016
- Update all examples and provide demos and docs on website
- Add Carousel, ParallaxCats, GoogleNow and SafariTabs examples
- Smoother animations by scaling deviceRatio
- Better
resize
event handling for dealing with animating URL bars on mobile devices - Add
Transitionable
test
Core
Transitionable
fixset
andreset
methods for multi-dimensional velocity transitionsTransitionable
fixhalt
method- Element size is not commited unless changed
DOM
Surface
andContainerSurface
haveenableScroll
parameter to use native scrollingSurface
andContainerSurface
haveroundToPixel
to prevent font aliasing effectsContext
can take aperspectiveOrigin
attributeSurface
hasremove
method to clear its DOM contents for later reuse
Events
EventFilter
only takesdata
argument. Removedtype
argument.
Inputs
- Update
MouseInput
,TouchInput
andScrollInput
withcumulate
property - PreventDefault on
TouchInput
andScrollInput
to prevent native scrolling behavior ScrollInput
sets velocity to 0 forend
event when trackpad is used
Streams
Stream
now batchesupdate
events
Transitions
- Rename
damping
todrag
inInertia
Views
Scrollview
now hasmarginTop
andmarginBottom
optionsScrollview
renamegoto
method togoTo
Scrollview
has support for inertiaView
supportsaspectRatio
setting