mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 11:56:01 +01:00
sidebars are now represented as widgets
This commit is contained in:
@@ -25,6 +25,10 @@ class BasicWidget extends Component {
|
||||
this.$widget.toggle(show);
|
||||
}
|
||||
|
||||
isVisible() {
|
||||
return this.$widget.is(":visible");
|
||||
}
|
||||
|
||||
remove() {
|
||||
if (this.$widget) {
|
||||
this.$widget.remove();
|
||||
|
||||
Reference in New Issue
Block a user