basic impl of creating a link, with preview
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user