scroll by pages

This commit is contained in:
Shin'ya Ueoka 2017-08-27 10:21:07 +09:00
parent 02c0cfd97d
commit 20e66ea2c7
4 changed files with 19 additions and 1 deletions

View file

@ -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;