A view port for scrolling containers that extend BaseScrollContainer.

Available since

1.0.0

.

See also:

Variables

maxVisibleHeight:Null<Float>

The maximum height of the view port. This value may be different from the maximum height of the view port's content.

To access the maximum height of the view port's content, use the maxHeight property.

Available since

1.0.0

.

maxVisibleWidth:Null<Float>

The maximum width of the view port. This value may be different from the maximum width of the view port's content.

To access the maximum width of the view port's content, use the maxWidth property.

Available since

1.0.0

.

minVisibleHeight:Null<Float>

The minimum height of the view port. This value may be different from the minimum height of the view port's content.

To access the minimum height of the view port's content, use the minHeight property.

Available since

1.0.0

.

minVisibleWidth:Null<Float>

The minimum width of the view port. This value may be different from the minimum width of the view port's content.

To access the minimum width of the view port's content, use the minWidth property.

Available since

1.0.0

.

scrollX:Float

The current horizontal scroll position (on the x-axis).

Available since

1.0.0

.

scrollY:Float

The current vertical scroll position (on the y-axis).

Available since

1.0.0

.

visibleHeight:Null<Float>

The height of the view port. This value may be smaller than the height of the view port's content, which indicates that scrolling is required.

To access the height of the view port's content, use the height property.

Available since

1.0.0

.

visibleWidth:Null<Float>

The width of the view port. This value may be smaller than the width of the view port's content, which indicates that scrolling is required.

To access the width of the view port's content, use the width property.

Available since

1.0.0

.