'slidechange' -> 'beforeslidechange' (closes #3003)
This commit is contained in:
parent
ad50dd513f
commit
cb454b0540
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user