1
0
mirror of https://github.com/webslides/WebSlides.git synced 2025-08-31 08:45:21 +02:00

Adding the slide element to the ws:slide-change event

Fixes #127
This commit is contained in:
Antonio Laguna
2019-02-19 19:20:33 +01:00
parent 587590a8e8
commit 9dc223912e

View File

@@ -315,6 +315,7 @@ export default class WebSlides {
DOM.fireEvent(this.el, 'ws:slide-change', {
slides: this.maxSlide_,
slideEl: slide.el,
currentSlide0: this.currentSlideI_,
currentSlide: this.currentSlideI_ + 1
});