Events dispatched by scrolling containers.

Available since

1.0.0

.

See also:

Static variables

@:value("scroll")staticinlineread onlySCROLL:EventType<ScrollEvent> = "scroll"

The ScrollEvent.SCROLL event type is dispatched when the scroll position of a container changes. This is basically alias for openfl.events.Event.SCROLL.

@:value("scrollComplete")staticinlineread onlySCROLL_COMPLETE:EventType<ScrollEvent> = "scrollComplete"

The ScrollEvent.SCROLL_COMPLETE event type is dispatched when a scrolling container completes scrolling.

Available since

1.0.0

.

@:value("scrollStart")staticinlineread onlySCROLL_START:EventType<ScrollEvent> = "scrollStart"

The ScrollEvent.SCROLL_START event type is dispatched when a scrolling container starts scrolling.

Available since

1.0.0

.

Static methods

@:value({ cancelable : false, bubbles : false })staticdispatch(dispatcher:IEventDispatcher, type:String, bubbles:Bool = false, cancelable:Bool = false):Bool

Dispatches a pooled event with the specified properties.

ScrollEvent.dispatch(component, ScrollEvent.SCROLL);
Available since

1.0.0

.

Constructor

@:value({ cancelable : false, bubbles : false })new(type:String, bubbles:Bool = false, cancelable:Bool = false)

Creates a new ScrollEvent object with the given arguments.

Available since

1.0.0

.

See also:

Methods