skeleton for global link map

This commit is contained in:
zadam
2021-09-16 23:09:48 +02:00
parent 5866004e23
commit ed26e32ccb
8 changed files with 42 additions and 10 deletions

View File

@@ -0,0 +1,10 @@
import ButtonWidget from "./button_widget.js";
import appContext from "../../services/app_context.js";
export default class OpenNoteButtonWidget extends ButtonWidget {
targetNote(noteId) {
this.onClick(() => appContext.tabManager.openTabWithNoteWithHoisting(noteId, true));
return this;
}
}