Skip to content

Commit 6e281d0

Browse files
Replace onInitialized method to onInitializing
1 parent 23ad1e6 commit 6e281d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core/component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ export abstract class DxComponent implements AfterViewInit, INestedOptionContain
9090
that.events[e.name + 'Change'] = [e.value];
9191
};
9292

93-
this._initialOptions.onInitialized = function(e) {
94-
e.component.on('optionChanged', that.optionChangeHandler.bind(that));
93+
this._initialOptions.onInitializing = function() {
94+
this.on('optionChanged', that.optionChangeHandler.bind(that));
9595
};
9696
this.instance = this._createInstance(element, this._initialOptions);
9797

0 commit comments

Comments
 (0)