This repository has been archived on 2022-08-19. You can view files and clone it, but cannot push or open issues or pull requests.
hydrogen-web/src/domain/session/room/timeline/tiles/ImageTile.js

23 lines
481 B
JavaScript
Raw Normal View History

2019-03-09 05:10:03 +05:30
import MessageTile from "./MessageTile.js";
export default class ImageTile extends MessageTile {
constructor(options) {
super(options);
// we start loading the image here,
// and call this._emitUpdate once it's loaded?
// or maybe we have an becameVisible() callback on tiles where we start loading it?
}
get src() {
return "";
}
get width() {
return 200;
}
get height() {
return 200;
}
}