pagenate by prev/next links

This commit is contained in:
Shin'ya Ueoka 2017-09-17 10:52:09 +09:00
parent aeb0e0f96d
commit ac8b40a2f3
6 changed files with 99 additions and 2 deletions

View file

@ -39,6 +39,10 @@ const execOperation = (operation) => {
return navigates.historyPrev(window);
case operations.NAVIGATE_HISTORY_NEXT:
return navigates.historyNext(window);
case operations.NAVIGATE_LINK_PREV:
return navigates.linkPrev(window);
case operations.NAVIGATE_LINK_NEXT:
return navigates.linkNext(window);
}
};