scroll by pages
This commit is contained in:
parent
02c0cfd97d
commit
20e66ea2c7
4 changed files with 19 additions and 1 deletions
|
@ -45,6 +45,9 @@ const invokeEvent = (action) => {
|
|||
case actions.SCROLL_LINES:
|
||||
scrolls.scrollLines(window, action[1]);
|
||||
break;
|
||||
case actions.SCROLL_PAGES:
|
||||
scrolls.scrollPages(window, action[1]);
|
||||
break;
|
||||
case actions.SCROLL_TOP:
|
||||
scrolls.scrollTop(window, action[1]);
|
||||
break;
|
||||
|
|
Reference in a new issue