mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2025-01-06 10:25:29 +01:00
001dbefbcf
because it becomes hard to remember where you used them and where not
20 lines
369 B
JavaScript
20 lines
369 B
JavaScript
import {tag} from "../general/html.js";
|
|
|
|
export class RoomPlaceholderView {
|
|
constructor() {
|
|
this._root = null;
|
|
}
|
|
|
|
mount() {
|
|
this._root = tag.div({className: "RoomPlaceholderView"}, tag.h2("Choose a room on the left side."));
|
|
return this._root;
|
|
}
|
|
|
|
root() {
|
|
return this._root;
|
|
}
|
|
|
|
unmount() {}
|
|
update() {}
|
|
}
|