ReboundTime||doc136556

September 20, 2022

Format

ScrollableView.ReboundTime

Describe

The springback time of the sliding area takes effect only when the limit mode is elastic. The larger the value, the slower the springback.

Code Example

image.png

-- create layout window
local APIRootWindow = UI:CreateGUIWindow("API")

--Set the window to the root node of the UI
APIRootWindow.Parent = UI.Root

--According to the name to get the ScrollableView control for testing
local scrollView = APIRootWindow.APIScrollableView

--Set the rebound time of the sliding area
scrollView.ReboundTime = 0.1