dhx.ui.scrollview
Type: Component
File:
Based on:
dhx.Scrollable
,
dhx.ui.view
,
dhx.ui.baseview
,
dhx.Settings
,
dhx.Destruction
,
dhx.BaseBind
Included in:
Methods
adjust
- adjusts the component to the size of the outer parent
HTML
container
bind
- binds components
define
- sets configuration property or a hash of properties
destructor
- destructs an object
getNode
- returns main html container of view
getParent
- returns parent object of current view
hide
- hides view
isVisible
- returns true if current view is visible
resize
- adjusts view to the new size
scrollState
- returns scroll position (
{x:scrollLeft,y:scrollTop}
)
scrollTo
- scrolls data container to a certain position
show
- makes view visible
Events
Doesn't have any
Properties
animate
- defines animation on view change (object with direction, type and subtype properties) or disables animation (false)
body
- the view object that needs being scrolled
container
- html container or its id where view needs initializing
contentHeight
- sets the height of scrollable view, actual for y scrolling
contentWidth
- sets the width of scrollable view, actual for x scrolling,
content
- allows to assign external html content to the scroll view
css
- class name for view container
gravity
- view gravity (1 by default)
height
- view height
hidden
- sets whether a view will be hidden initially
id
- view id
scrollSpeed
- the speed of scrolling (the default speed is '0ms')
scroll
- enables/disables scroll
width
- view width