fix page up / page down in Ox.List
This commit is contained in:
parent
094b1a59ec
commit
4620461c86
2 changed files with 2 additions and 3 deletions
|
@ -10,7 +10,6 @@ Ox.App <f> Basic application instance that communicates with a JSON API
|
||||||
url <s> JSON API url
|
url <s> JSON API url
|
||||||
self <o> Shared private variable
|
self <o> Shared private variable
|
||||||
load <!> app loaded
|
load <!> app loaded
|
||||||
|
|
||||||
@*/
|
@*/
|
||||||
|
|
||||||
Ox.App = function(options) {
|
Ox.App = function(options) {
|
||||||
|
|
|
@ -1055,11 +1055,11 @@ Ox.List = function(options, self) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function scrollPageDown() {
|
function scrollPageDown() {
|
||||||
that.scrollBy(getHeight());
|
that.scrollTop(that.scrollTop() + getHeight());
|
||||||
}
|
}
|
||||||
|
|
||||||
function scrollPageUp() {
|
function scrollPageUp() {
|
||||||
that.scrollBy(-getHeight());
|
that.scrollTop(that.scrollTop() - getHeight());
|
||||||
}
|
}
|
||||||
|
|
||||||
function scrollTo(value) {
|
function scrollTo(value) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue