refactored layout out of app context

This commit is contained in:
zadam
2020-02-06 21:47:31 +01:00
parent 92f6558e55
commit d79ae261e1
4 changed files with 85 additions and 68 deletions

View File

@@ -234,6 +234,12 @@ const TAB_ROW_TPL = `
</div>`;
export default class TabRowWidget extends BasicWidget {
constructor(appContext) {
super(appContext);
appContext.tabRow = this;
}
doRender() {
this.$widget = $(TAB_ROW_TPL);