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;
|
||||
}
|
||||
|
||||
updateOptions(options: O): void {
|
||||
this._options = Object.assign(this._options, options);
|
||||
}
|
||||
|
||||
emitChange(changedProps: any): void {
|
||||
if (this._options.emitChange) {
|
||||
this._options.emitChange(changedProps);
|
||||
|
|
Loading…
Reference in a new issue