1
0
Fork 0

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

This commit is contained in:
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,