ScrollView

A composite that allows its content to overflow either vertically (default) or horizontally. Children of a ScrollView may not be attached to its edge in scrolling direction (to the bottom for vertical scrolling, to the right for horizontal scrolling). Includes Composite

Properties

direction

Type: string, supported values: vertical, horizontal, default: vertical

Specifies the scrolling direction of the scroll composite.
This property can only be set in the tabris.create method. It cannot be changed after widget creation.

Events

“scroll” (scrollView, offset)

Parameters:

  • :
  • :

Fired on scrolling. The offset object indicates the current scrolling position: {x: number, y: number}.

See also