File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,18 @@ All notable changes to this project will be documented in this file.
6
6
The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
7
7
and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
8
8
9
+ ## [ 3.1.0-beta.1]
10
+
11
+ This version introduces upwards scroll support. See documentation on the [ ` prev ` ] ( docs/options.md#prev ) option on how to enabled this feature.
12
+
13
+ * Added [ ` prev ` ] ( docs/options.md#prev ) option
14
+ * Added [ ` prev ` ] ( docs/events.md#prev ) event
15
+ * Added [ ` preved ` ] ( docs/events.md#preved ) event
16
+ * Added [ ` top ` ] ( docs/events.md#top ) event
17
+ * Added [ ` first ` ] ( docs/events.md#first ) event
18
+ * Added [ ` prepend ` ] ( docs/events.md#prepend ) event
19
+ * Added [ ` prepended ` ] ( docs/events.md#prepended ) event
20
+
9
21
## [ 3.0.0]
10
22
11
23
Changes since 3.0.0-rc.1:
@@ -107,6 +119,7 @@ See [LICENSE](LICENSE) for more details.
107
119
* Extensible through events
108
120
* Added an extensive test suite
109
121
122
+ [ 3.1.0-beta.1 ] : https://github.com/webcreate/infinite-ajax-scroll/compare/3.0.0...3.1.0-beta.1
110
123
[ 3.0.0 ] : https://github.com/webcreate/infinite-ajax-scroll/compare/3.0.0-rc.1...3.0.0
111
124
[ 3.0.0-rc.1 ] : https://github.com/webcreate/infinite-ajax-scroll/compare/v2.3.1...3.0.0-rc.1
112
125
[ 2.3.1 ] : https://github.com/webcreate/infinite-ajax-scroll/compare/v2.3.0...v2.3.1
Original file line number Diff line number Diff line change @@ -54,10 +54,13 @@ Selector of the previous link. The `href` attribute will be used for the url of
54
54
55
55
``` html
56
56
<a href =" /page/1" class =" pager__prev" >Prev</a >
57
+ <span class =" pager__current" >2</span >
58
+ <a href =" /page/3" class =" pager__next" >Next</a >
57
59
```
58
60
59
61
``` javascript
60
62
let ias = new InfiniteAjaxScroll (/* ..*/ , {
63
+ next: ' .pager__next' ,
61
64
prev: ' .pager__prev'
62
65
})
63
66
```
You can’t perform that action at this time.
0 commit comments