'slidechange' -> 'beforeslidechange' (closes #3003)

edit
Hakim El Hattab 2021-09-20 09:00:17 +02:00
parent ad50dd513f
commit cb454b0540
1 changed files with 1 additions and 1 deletions

View File

@ -1200,7 +1200,7 @@ export default function( revealElement, options ) {
// Dispatch an event before hte slide
const slidechange = dispatchEvent({
type: 'slidechange',
type: 'beforeslidechange',
data: {
indexh: h === undefined ? indexh : h,
indexv: v === undefined ? indexv : v,