Skip to content

Releases: mickaelchanrion/rolly

v0.4.0

26 Apr 20:36
dd15614
Compare
Choose a tag to compare
  • Some option defaults were not matching with what's written in the docs

v0.3.5

17 Jul 15:28
Compare
Choose a tag to compare

Bug fixes

  • scenes not correctly hidden from the view in case the view is larger than its content

v0.3.4

17 Jul 10:06
Compare
Choose a tag to compare

Update modules

v0.3.3

26 Jun 16:14
Compare
Choose a tag to compare

Features

  • add option: autoUpdate (true by default)
    If true, Rolly will listen for resize events and refresh the cache according the new layout of the view.

v0.3.1

03 May 15:26
Compare
Choose a tag to compare

Features

  • add 2 callbacks: changeStart and changeEnd

Improvements

  • code style
  • change the way of hiding a scene (⚡️ performance)

Just use transform to hide a scene instead of changing the visibility because this property will trigger paint. https://csstriggers.com/visibility

  • use a private state

Bug fixes

  • fix demos
  • fix hiding scrollbar when page is not scrollable

Breaking changes

  • change option 'direction' into 'vertical'

Improves the flow in the code (shorter 🙂)
if (this.options.vertical) {} instead of if (this.options.direction === 'vertical') {}

The documentation has been fully updated.

v0.2.0

21 Jan 11:21
Compare
Choose a tag to compare

First release of rolly.js
See the documentation here!

Features

  • change the behavior of the default scroll for a smoother effect
  • quickly and flexibly add a customizable parallax effect to any element on a page
  • create interaction scenes related to the scroll position in a page