aboutsummaryrefslogtreecommitdiff
path: root/src/content/usecases/NavigateUseCase.ts
blob: f7902128ff699c351c27e39bef7e68dcfbe29ee3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import * as navigates from '../navigates';

export default class NavigateClass {
  openHistoryPrev(): void {
    navigates.historyPrev(window);
  }

  openHistoryNext(): void {
    navigates.historyNext(window);
  }

  openLinkPrev(): void {
    navigates.linkPrev(window);
  }

  openLinkNext(): void {
    navigates.linkNext(window);
  }

  openParent(): void {
    navigates.parent(window);
  }

  openRoot(): void {
    navigates.root(window);
  }
}