-
-
Clears all data
-
_createArrowSprites
()
private
-
-
-
Refreshes arrows
-
-
-
-
Clears the scroll status
-
-
Returns true if the horizontal scrolling
Returns:
Type |
Description |
Boolean
|
Horizontal scrolling |
-
-
Returns true if the scroll enabled
Returns:
Type |
Description |
Boolean
|
Scroll enabled |
-
isTouchedInsideFrame
()Boolean
-
Returns true if touched inside the frame
Returns:
Type |
Description |
Boolean
|
Touched inside the frame |
-
-
Returns true if the touch scroll enabled
Returns:
Type |
Description |
Boolean
|
Touch scroll enabled |
-
-
Returns true if the wheel scroll enabled
Returns:
Type |
Description |
Boolean
|
Wheel scroll enabled |
-
-
Returns the height of the item
Returns:
Type |
Description |
Number
|
Height of the item |
-
-
Returns the width of the item
Returns:
Type |
Description |
Number
|
Width of the item |
-
-
Returns the max scroll X
Returns:
Type |
Description |
Number
|
Max scroll X |
-
-
Returns the max scroll Y
Returns:
Type |
Description |
Number
|
Max scroll Y |
-
-
Handles the scroll
-
-
Handles the end of the scroll
-
-
Handles the start of the scroll
-
-
Returns the overall width
Returns:
Type |
Description |
Number
|
Overall height |
-
-
Returns the overall width
Returns:
Type |
Description |
Number
|
Overall width |
-
-
Processes page scroll
- Since:
-
-
Processes touch scroll
-
-
Processes wheel scroll
-
-
Returns the scroll base X
Returns:
Type |
Description |
Number
|
Scroll base X |
-
-
Returns the scroll base Y
Returns:
Type |
Description |
Number
|
Scroll base Y |
-
-
Returns the height of the scroll block
- Version:
Returns:
Type |
Description |
Number
|
Height of the scroll block |
-
-
Returns the width of the scroll block
- Version:
Returns:
Type |
Description |
Number
|
Width of the scroll block |
-
-
Scrolling by coordinates offset
Name |
Type |
Description |
x |
Number
|
The X coordinate |
y |
Number
|
The Y coordinate |
-
-
Scroll to coordinates
Name |
Type |
Description |
x |
Number
|
The X coordinate |
y |
Number
|
The Y coordinate |
-
-
Returns the scroll X
Returns:
Type |
Description |
Number
|
Scroll X |
-
-
Returns the scroll Y
Returns:
Type |
Description |
Number
|
Scroll Y |
-
-
Sets the scroll accel
Name |
Type |
Description |
x |
Number
|
The X coordinate |
y |
Number
|
The Y coordinate |
-
-
Sets all parameters
Name |
Type |
Default |
Description |
object |
Object
|
{}
|
optional
Parameters
Name |
Type |
Description |
itemWidth |
function
|
Number
|
optional
Width of the item |
itemHeight |
function
|
Number
|
optional
Height of the item |
scrollBlockWidth |
function
|
Number
|
optional
Width of the scroll block |
scrollBlockHeight |
function
|
Number
|
optional
Height of the scroll block |
|
-
-
Sets the height of the item
Name |
Type |
Description |
height |
function
|
Number
|
optional
Height of the item |
-
-
Sets the width of the item
Name |
Type |
Description |
width |
function
|
Number
|
optional
Width of the item |
-
-
Smooth scrolling by coordinates offset
Name |
Type |
Description |
x |
Number
|
The X coordinate |
y |
Number
|
The Y coordinate |
-
-
Smooth scrolls to down
Name |
Type |
Description |
rows |
Number
|
Rows to scroll |
-
-
Smooth scrolls to left
Name |
Type |
Description |
cols |
Number
|
Cols to scroll |
-
-
Smooth scrolls to right
Name |
Type |
Description |
cols |
Number
|
Cols to scroll |
-
-
Smooth scroll to coordinates
Name |
Type |
Description |
x |
Number
|
The X coordinate |
y |
Number
|
The Y coordinate |
-
-
Smooth scrolls to up
Name |
Type |
Description |
rows |
Number
|
Rows to scroll |
-
-
Updates the window
-
-
Updates the arrows
-
-
Updates the origin
-
-
Updates the scroll accel
-
-
Updates the scroll base
Name |
Type |
Description |
baseX |
Number
|
The X base coordinate |
baseY |
Number
|
The Y base coordinate |
-
-
Updates the smooth scroll