Skip to content

Arbitrary Scroll Containers!

Compare
Choose a tag to compare
@stutrek stutrek released this 01 Dec 23:59
· 42 commits to master since this release

We're proud to announce the release of everyone's biggest request, using any arbitrary element as a scroll container!

Simply create a container and use it just like you would in the old days.

var scrollContainer = scrollMonitor.createContainer(element);
var watcher = scrollContainer.create(childElement);

Additionally, the tests are much easier to run.

Enjoy!