got rid of .renderTo(), tab caching widgets use hidden marker element

This commit is contained in:
zadam
2020-01-19 15:36:42 +01:00
parent 6de4914ea6
commit 416d733510
11 changed files with 59 additions and 79 deletions

View File

@@ -1,12 +1,6 @@
import Component from "./component.js";
class BasicWidget extends Component {
renderTo($parent) {
this.$parent = $parent;
$parent.append(this.render());
}
render() {
return this.doRender();
}