forked from mystiq/hydrogen-web
updateOptions is unused,not the best idea since options is/can be shared
This commit is contained in:
parent
6beff7e552
commit
3888291758
1 changed files with 0 additions and 4 deletions
|
@ -115,10 +115,6 @@ export class ViewModel<O extends Options = Options> extends EventEmitter<{change
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
updateOptions(options: O): void {
|
|
||||||
this._options = Object.assign(this._options, options);
|
|
||||||
}
|
|
||||||
|
|
||||||
emitChange(changedProps: any): void {
|
emitChange(changedProps: any): void {
|
||||||
if (this._options.emitChange) {
|
if (this._options.emitChange) {
|
||||||
this._options.emitChange(changedProps);
|
this._options.emitChange(changedProps);
|
||||||
|
|
Loading…
Reference in a new issue