View source
interface IScrollLayout
package feathers.layout
extends ILayout
implemented by VerticalListFixedRowLayout
A layout that is affected by changes to scroll position.
Available since
1.0.0
.Variables
read onlyprimaryDirection:Direction
The primary direction that this layout is expected to scroll. Not all layouts will necessarily have a primary direction.
Available since
1.0.0
.read onlyrequiresLayoutOnScroll:Bool
Determines if the container calls layout()
when the scroll position
changes. Useful for transforming items as the view port scrolls. This
alue should typically be true
for layouts that implement the
IVirtualLayout
interface and the useVirtualLayout
property is set to
true
. May also be used by layouts that toggle item visibility as the
items scroll into and out of the view port.
Available since
1.0.0
.scrollX:Float
The horizontal scroll position of the container using this layout.
Available since
1.0.0
.