extracted widgets from note title

This commit is contained in:
zadam
2020-01-19 13:19:40 +01:00
parent 9f1e777e6d
commit 6de4914ea6
10 changed files with 115 additions and 78 deletions

View File

@@ -25,14 +25,14 @@ export default class TabAwareWidget extends BasicWidget {
refresh() {
if (this.tabContext && this.tabContext.note) {
this.toggle(true);
this.refreshWithNote();
this.refreshWithNote(this.tabContext.note);
}
else {
this.toggle(false);
}
}
refreshWithNote() {}
refreshWithNote(note) {}
activeTabChangedListener() {
this.tabContext = this.appContext.getActiveTabContext();