added a simple callback on change if using the public method shower.go()
This commit is contained in:
parent
786b12ed4f
commit
a68a7b5ca1
|
@ -118,6 +118,9 @@ window.shower = (function () {
|
|||
if (!_.isListMode()) {
|
||||
_.updateProgress(slideNumber);
|
||||
}
|
||||
|
||||
if (typeof _.onchange == 'function')
|
||||
_.onchange(slideNumber);
|
||||
}
|
||||
|
||||
function getContainingSlideId(el) {
|
||||
|
|
Loading…
Reference in New Issue