'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
|
// Dispatch an event before hte slide
|
||||||
const slidechange = dispatchEvent({
|
const slidechange = dispatchEvent({
|
||||||
type: 'slidechange',
|
type: 'beforeslidechange',
|
||||||
data: {
|
data: {
|
||||||
indexh: h === undefined ? indexh : h,
|
indexh: h === undefined ? indexh : h,
|
||||||
indexv: v === undefined ? indexv : v,
|
indexv: v === undefined ? indexv : v,
|
||||||
|
Loading…
Reference in New Issue
Block a user