Skip to content

Simple Backbone view addon that triggers an event when a view has been scrolled all the way down.

License

Notifications You must be signed in to change notification settings

Thann/backbone_scrollBottom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Backbone_scrollBottom

Simple Backbone view addon that triggers an event when a view has been scrolled all the way down.

Install:

npm install thann/backbone_scrollbottom

Require in app & use in view:

require('backbone_scrollbottom');
const someView = Backbone.View.extend({
  initialize() {
    this.initScrollBottom();
    this.on('scroll:bottom', (e) => {
      console.log("scrollbottom!!!!", e);
    });
  },
});

Example

See test/app.js for an example. demo

Run test server with npm run test then navigate to localhost:3069.

About

Simple Backbone view addon that triggers an event when a view has been scrolled all the way down.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published