Skip to content

ScrollView

extends Control

The ScrollView class is used to implement a scrollable UI interface.

成员变量

ScrollView.horizontal : boolean
ScrollView.hScrollbarVisibility : VisibilityType
The visibility of the horizontal scrollbar.
ScrollView.vertical : boolean
Whether the scroll view allows vertical scrolling.
ScrollView.inertia : boolean
Whether the scroll view has inertia when scrolling.
ScrollView.elasticity : number
The elasticity value of the scroll view.
ScrollView.decelerationRate : number
The deceleration rate of the scroll view.
ScrollView.scrollSensitivity : number
The scroll sensitivity of the scroll view.
ScrollView.movementType : MovementType
The movement type of the scroll view.
ScrollView.vScrollbarVisibility : VisibilityType
The visibility of the vertical scrollbar.
ScrollView.content : Control
The scrollable content within the current scroll view.