File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
app/ng-ui-widgets-category Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -10,10 +10,10 @@ constructor(private _zone: NgZone) { }
1010
1111// .. more code follows here
1212
13- bottomNavigation .on (BottomNavigation .selectedIndexChangedEvent , (data : SelectedIndexChangedEventData ) => {
13+ bottomNavigation .on (BottomNavigation .selectedIndexChangedEvent , (args : SelectedIndexChangedEventData ) => {
1414 // manually wrap in the NgZone when using the event via code-behind
1515 this ._zone .run (() => {
16- this .selectedIndex = newIndex ;
16+ this .selectedIndex = args . newIndex ;
1717 });
1818});
1919```
Original file line number Diff line number Diff line change @@ -10,9 +10,9 @@ constructor(private _zone: NgZone) { }
1010
1111// .. more code follows here
1212
13- tabs .on (Tabs .selectedIndexChangedEvent , (data : SelectedIndexChangedEventData ) => {
13+ tabs .on (Tabs .selectedIndexChangedEvent , (args : SelectedIndexChangedEventData ) => {
1414 // manually wrapping in the NgZone when using the event via code-behind (otherwise this.selectedIndex won't be updated in the UI)
1515 this ._zone .run (() => {
16- this .selectedIndex = newIndex ;
16+ this .selectedIndex = args . newIndex ;
1717 });
1818});
You can’t perform that action at this time.
0 commit comments