Skip to content

v0.4.0

Compare
Choose a tag to compare
@mnogueron mnogueron released this 29 Jun 07:27
· 54 commits to master since this release

Breaking changes

autoCenter no longer animates on componentDidMount but the animation can be manually triggered with

autoCenter(1, true)

See the dedicated story for an example.

Changes

  • add animate optional parameter to autoCenter to enable animation - thanks to @n1ru4l (#11)
  • add zoomSpeed optional parameter to zoomIn and zoomOut (#12)