Name | Type | Default | |||||
---|---|---|---|---|---|---|---|
animationDuration | Number | 30 | |||||
Sets or gets the animationDuration property. Specifies the duration of the animation which starts when the current page is changed. Code example
Set the
Get the
Try it: animationDuration is set to 3000
|
|||||||
bounceEnabled | Boolean | true | |||||
Sets or gets whether the bounce effect is enabled when pages are changed. Code example
Set the
Get the
Try it: bounceEnabled is set to false
|
|||||||
buttonsOffset | Array | [0, 0] | |||||
Sets or gets the jqxScrollView's buttonsOffset property. This property sets the offset from the default location of the navigation buttons. Code example
Set the
Get the
Try it: buttonsOffset is set to [0,0]
|
|||||||
currentPage | Number | 0 | |||||
Sets or gets the jqxScrollView's currentPage property. The currentPage specifies the displayed element. Code example
Set the
Get the
Try it: currentPage is set to 1
|
|||||||
disabled | Boolean | false | |||||
Sets or gets the jqxScrollView's disabled property. Code example
Set the
Get the
Try it: disabled is set to true
|
|||||||
height | String | 320 | |||||
Sets or gets the jqxScrollView's height. Code example
Set the
Get the
Try it: height is set to 250
|
|||||||
moveThreshold | Number | 0.5 | |||||
Sets or gets the jqxScrollView's moveThreshold property. The moveThreshold property specifies how much the user should drag the current element to navigate to next/previous element. Values should be set from 0.1 to 1. 0.5 means 50% of the element's width. Code example
Set the
Get the
Try it: moveThreshold is set to 1
|
|||||||
showButtons | Boolean | true | |||||
Sets or gets whether the navigation buttons are visible. Code example
Set the
Get the
Try it: showButtons is set to false
|
|||||||
slideShow | Boolean | true | |||||
Indicates whether the slideShow mode is enabled. In this mode, pages are changed automatically in a time interval. Code example
Set the
Get the
Try it: slideShow is set to false
|
|||||||
slideDuration | Number | 3000 | |||||
Sets or gets the duration in milliseconds of a time interval. The current page is changed when the time interval is elapsed. Code example
Set the
Get the
Try it: slideDuration is set to 300
|
|||||||
theme | String | '' | |||||
Sets the widget's theme. jQWidgets uses a pair of css files - jqx.base.css and jqx.[theme name].css. The base stylesheet creates the styles related to the widget's layout like margin, padding, border-width, position. The second css file applies the widget's colors and backgrounds. The jqx.base.css should be included before the second CSS file. In order to set a theme, you need to do the following:
Try it: theme is set to 'energyblue'
|
|||||||
width | String | 320 | |||||
Sets or gets the jqxScrollView's width. Code example
Set the
Get the
Try it: width is set to 300
|
|||||||
Events |
|||||||
pageChanged | Event | ||||||
This event is triggered when the current page is changed. Code examples
Bind to the
|
|||||||
Methods |
|||||||
back | Method | ||||||
Navigates to the previous page.
None Code example
Invoke the
|
|||||||
changePage | Method | ||||||
Navigates to a page.
None Code example
Invoke the
|
|||||||
forward | Method | ||||||
Navigates to the next page.
None Code example
Invoke the
|
|||||||
refresh | Method | ||||||
Refreshes the widget.
None Code example
Invoke the
Try it: refresh the jqxScrollView.
|