basic impl of creating a link, with preview

This commit is contained in:
Bruno Windels
2020-12-02 15:39:33 +01:00
parent 5d40d01360
commit 0fc203dff5
5 changed files with 69 additions and 5 deletions
+2
View File
@@ -61,6 +61,7 @@ export class ViewModel extends EventEmitter {
}
get request() { return this._options.request; }
get origin() { return this._options.origin; }
get openLink() { return this._options.openLink; }
get platforms() { return this._options.platforms; }
get preferences() { return this._options.preferences; }
@@ -68,6 +69,7 @@ export class ViewModel extends EventEmitter {
childOptions(options = {}) {
return Object.assign({
request: this.request,
origin: this.origin,
openLink: this.openLink,
platforms: this.platforms,
preferences: this.preferences,