mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 19:05:59 +01:00
refactroring WIP
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
import BasicWidget from "./basic_widget.js";
|
||||
|
||||
export default class TabAwareWidget extends BasicWidget {
|
||||
constructor(appContext) {
|
||||
constructor(appContext, tabContext = null) {
|
||||
super(appContext);
|
||||
|
||||
/** @var {TabContext} */
|
||||
this.tabContext = null;
|
||||
this.tabContext = tabContext;
|
||||
}
|
||||
|
||||
// to override
|
||||
|
||||
Reference in New Issue
Block a user