File tree 2 files changed +4
-4
lines changed
app/ng-ui-widgets-category
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) { }
10
10
11
11
// .. more code follows here
12
12
13
- bottomNavigation .on (BottomNavigation .selectedIndexChangedEvent , (data : SelectedIndexChangedEventData ) => {
13
+ bottomNavigation .on (BottomNavigation .selectedIndexChangedEvent , (args : SelectedIndexChangedEventData ) => {
14
14
// manually wrap in the NgZone when using the event via code-behind
15
15
this ._zone .run (() => {
16
- this .selectedIndex = newIndex ;
16
+ this .selectedIndex = args . newIndex ;
17
17
});
18
18
});
19
19
```
Original file line number Diff line number Diff line change @@ -10,9 +10,9 @@ constructor(private _zone: NgZone) { }
10
10
11
11
// .. more code follows here
12
12
13
- tabs .on (Tabs .selectedIndexChangedEvent , (data : SelectedIndexChangedEventData ) => {
13
+ tabs .on (Tabs .selectedIndexChangedEvent , (args : SelectedIndexChangedEventData ) => {
14
14
// manually wrapping in the NgZone when using the event via code-behind (otherwise this.selectedIndex won't be updated in the UI)
15
15
this ._zone .run (() => {
16
- this .selectedIndex = newIndex ;
16
+ this .selectedIndex = args . newIndex ;
17
17
});
18
18
});
You can’t perform that action at this time.
0 commit comments