Skip to content

Commit

Permalink
added missing event listeners to auto-incremental javascript example
Browse files Browse the repository at this point in the history
  • Loading branch information
ddnexus committed Mar 20, 2019
1 parent 119ba78 commit 5c92187
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/extras/support.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,10 @@ var loadNextPage = function(){
$('#next_link').data("loading", true);
}
};

window.addEventListener('resize', loadNextPage);
window.addEventListener('scroll', loadNextPage);
window.addEventListener('load', loadNextPage);
```

### Circular/Infinite
Expand Down

0 comments on commit 5c92187

Please sign in to comment.