Skip to content

Commit e23e1f4

Browse files
committed
- Added nextSlideIndex parameter for the callback onSlideLeave alvarotrigo#2450
1 parent a193ea8 commit e23e1f4

File tree

3 files changed

+39
-39
lines changed

3 files changed

+39
-39
lines changed

pure javascript (Alpha)/javascript.fullPage.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* fullPage Pure Javascript v.0.0.4 (Alpha) - Not support given until Beta version.
2+
* fullPage Pure Javascript v.0.0.9 (Alpha) - Not support given until Beta version.
33
* https://github.com/alvarotrigo/fullPage.js
44
* MIT licensed
55
*

pure javascript (Alpha)/javascript.fullPage.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* fullPage Pure Javascript v.0.0.8 (Alpha) - Not support given until Beta version.
2+
* fullPage Pure Javascript v.0.0.9 (Alpha) - Not support given until Beta version.
33
* https://github.com/alvarotrigo/fullPage.js
44
* MIT licensed
55
*
@@ -1530,7 +1530,7 @@
15301530

15311531
//if the site is not just resizing and readjusting the slides
15321532
if(!localIsResizing && xMovement!=='none'){
1533-
isFunction( options.onSlideLeave ) && options.onSlideLeave.call( prevSlide, anchorLink, (sectionIndex + 1), prevSlideIndex, xMovement);
1533+
isFunction( options.onSlideLeave ) && options.onSlideLeave.call( prevSlide, anchorLink, (sectionIndex + 1), prevSlideIndex, xMovement, slideIndex);
15341534
}
15351535
}
15361536

0 commit comments

Comments
 (0)