Interface IScrollableView2
interface IScrollableView2
Extends IScrollableView
IScrollableView2 interface extends IScrollableView and defines new methods for scrollable components.
Scrollable components are those that can be scrolled either vertically or horizontally
to view content that exceeds the visible area.
Methods
isSmoothScrollingEnabled()
bool isSmoothScrollingEnabled()
Checks whether scrollable view transitions will animate.
Returns whether the scrollable view will animate its transitions.
By default, smooth scrolling is enabled, meaning scroll transition will animate.
Returns
bool
true if scrollable view animates its transition, false otherwise.
setSmoothScrollingEnabled()
Enables or disables whether scrollable view transitions will animate. This method sets whether scrolling will animate its transition. By default, smooth scrolling is enabled, meaning scroll transition will animate.voidsetSmoothScrollingEnabled(boolsmoothScrollingEnabled)
Parameters
smoothScrollingEnabled
bool — Required
Set to true to enable smooth scrolling, or false to disable it.

