smoothScrolling(enable)
Class: InternalWindowContainer. Method inherited from UIComponent.
Description:
Sets or gets whether scrolling should be smooth (animated). Applies only to scrollable components.
Parameters:
| Name | Type | Description |
|---|---|---|
|
|
boolean |
Enables or disables smooth scrolling |
Returns:
Returns this component if argument is provided, otherwise returns boolean value.
Type: this | number
