Layer Scroll Events

The following events are only generated when the "Enable layer scrolling behavior" option is checked in the Layer Scrolling properties.

gre.drag.start

This event is generated when a user begins dragging a scrolling layer.

Data:

        The name of the object being scrolled

gre.drag.stop

This event is generated when a user stops dragging a scrolling layer.

Data:

        The name of the object being scrolled

gre.scroll.trigger

This event is generated before the drag.stop event when it is detected that automatic scrolling will occur.

Data:

        The name of the object being scrolled

gre.scroll.start

This event is generated when the scroll animation begins.

Data:

        The name of the object being scrolled

gre.scroll.stop

This event is generated when the scroll animation completes.

Data:

        The name of the object being scrolled

gre.scroll.cancel

This event is generated when the scroll animation is interrupted.

Data:

        The name of the object being scrolled

gre.scroll.complete

This event is generated when the object being scrolled has stopped moving naturally after a drag or an animated scroll

Data:

        The name of the object being scrolled

Was this article helpful?
0 out of 0 found this helpful