aboutsummaryrefslogtreecommitdiff
path: root/src/background/presenters
diff options
context:
space:
mode:
Diffstat (limited to 'src/background/presenters')
-rw-r--r--src/background/presenters/HelpPresenter.ts10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/background/presenters/HelpPresenter.ts b/src/background/presenters/HelpPresenter.ts
new file mode 100644
index 0000000..f5c3a6b
--- /dev/null
+++ b/src/background/presenters/HelpPresenter.ts
@@ -0,0 +1,10 @@
+import { injectable } from 'tsyringe';
+
+const url = 'https://ueokande.github.io/vim-vixen/';
+
+@injectable()
+export default class HelpPresenter {
+ async open(): Promise<void> {
+ await browser.tabs.create({ url, active: true });
+ }
+}