DojoMobileScrollablePane

It is a pane widget that is scrollable. It can contain widgets of any type, except DojoMobileView.

Properties

roundedCorner
Specifies whether to round the corners of child widgets.
radius
The radius of the rounded corners applied to child widgets.
scrollDirection
Following options are available.
  • v: vertical scrolling
  • h: horizontal scrolling
  • vh: both vertical and horizontal scrolling
  • f: flip-based scrolling
scrollBar
Specifies whether to show the scroll bar(s) or not.
dragWeight
The amount of resistance for scrolling.
bounceBack
Specifies whether to use a bounce-back effect when scrolling past the end.
FadeScrollBar
Specifies whether to fade the scroll bar(s) after scrolling is completed.

Functions

scrollToChild
Scrolls to the specified child, including optional animation. This method takes the following parameters.
  • child – the child widget to scroll to.
  • alignWithTop – whether to position the target widget at the top of the pane's viewing area.
  • animationDuration – the duration of the scrolling animation in seconds.
ShowScrollBar
Shows the scroll bar(s).
HideScrollBar
Hides the scroll bar(s).