Interface ISnapCallbacksMap

Callbacks map for the Snap component

interface ISnapCallbacksMap {
    activeSlide: SnapSlide;
    destroy: undefined;
    props: undefined;
    rafPause?: undefined;
    rafPlay?: undefined;
    reflow: undefined;
    resize: undefined;
    swipe: ISwipeCoords;
    swipeEnd: ISwipeCoords;
    swipeStart: ISwipeCoords;
    timelineEnd: undefined;
    timelineStart: undefined;
    timelineUpdate: ITimelineProgressArg;
    update: undefined;
    wheel: WheelEvent;
    wheelEnd: undefined;
    wheelStart: undefined;
}

Hierarchy (View Summary)

Properties

activeSlide: SnapSlide

Fired after active slide change

destroy: undefined

Triggered when the module is destroyed.

props: undefined

Triggered when the module's properties are updated.

rafPause?: undefined

Fired on requestAnimationFrame pause

rafPlay?: undefined

Fired on requestAnimationFrame play

reflow: undefined

Fired on reflow: staticValues update

resize: undefined

Fired on resize

Fired on swipe move

swipeEnd: ISwipeCoords

Fired on swipe end

swipeStart: ISwipeCoords

Fired on swipe start

timelineEnd: undefined

Fired on timeline animation end

timelineStart: undefined

Fired on timeline animation start

timelineUpdate: ITimelineProgressArg

Fired on timeline animation update

update: undefined

Fired during the rendering process

wheel: WheelEvent

Fired on wheel event

wheelEnd: undefined

Fired on wheel end

wheelStart: undefined

Fired on wheel start