scrollview

Methods

  • define - sets configuration property or a hash of properties
  • destructor - destructs the object
  • getNode - gets html object of a view
  • getParent - gets a parent view
  • resize - recalculates and adjusts view sizes
  • scrollTo - scrolls data container to a certain position
  • show - shows a view

Events

Doesn't have any

Properties

  • content - the view object that needs being scrolled
  • contentHeight - sets the height of scrollable view, actual for y scrolling
  • contentWidth - needs being set for x scrolling, sets the width of scrollable view
  • scroll - defines touch scroll: x or y
  • scroll - enables/disables scroll
  • container - html container or its id where view needs being initialized
  • id - view id
  • css - class name for view container
  • width - view width
  • height - view height
  • gravity - view gravity (1 by default)