refactored tab activation

This commit is contained in:
zadam
2020-01-19 21:12:53 +01:00
parent 1098d75ce0
commit 0760dc742b
8 changed files with 79 additions and 44 deletions

View File

@@ -18,6 +18,12 @@ class BasicWidget extends Component {
this.$widget.toggle(show);
}
remove() {
if (this.$widget) {
this.$widget.remove();
}
}
cleanup() {}
}