We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76d3136 commit d917981Copy full SHA for d917981
README.md
@@ -49,7 +49,9 @@ Infinite Ajax Scroll works on a container with item elements which get appended.
49
</div>
50
51
<div class="pagination">
52
- <a href="page2.html" class="next">Next</a>
+ <a href="page1.html" class="prev">Prev</a>
53
+ <span class="current">1</span>
54
+ <a href="page3.html" class="next">Next</a>
55
56
```
57
@@ -62,6 +64,7 @@ import InfiniteAjaxScroll from '@webcreate/infinite-ajax-scroll';
62
64
let ias = new InfiniteAjaxScroll('.container', {
63
65
item: '.item',
66
next: '.next',
67
+ prev: '.prev',
68
pagination: '.pagination'
69
});
70
0 commit comments