very basic client list code

This commit is contained in:
Bruno Windels
2020-11-30 21:05:26 +01:00
parent eded08595a
commit 8659594c22
16 changed files with 482 additions and 15 deletions
+8 -4
View File
@@ -60,11 +60,15 @@ export class ViewModel extends EventEmitter {
this.emit("change");
}
get request() {
return this._options.request;
}
get request() { return this._options.request; }
get openLink() { return this._options.openLink; }
get platforms() { return this._options.platforms; }
childOptions(options = {}) {
return Object.assign({request: this.request}, options);
return Object.assign({
request: this.request,
openLink: this.openLink,
platforms: this.platforms,
}, options);
}
}