-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Closed
Labels
Description
Bug Report
Ionic Info
Run ionic info from a terminal/cmd prompt and paste the output below.
Ionic:
ionic (Ionic CLI) : 4.0.1 (/Users/bilal/.config/yarn/global/node_modules/ionic)
Ionic Framework : @ionic/angular 4.0.0-beta.0
@angular-devkit/core : 0.7.0-rc.3
@angular-devkit/schematics : 0.7.0-rc.3
@angular/cli : 6.0.8
@ionic/ng-toolkit : 1.0.0
@ionic/schematics-angular : 1.0.1
Cordova:
cordova (Cordova CLI) : 8.0.0
Cordova Platforms : none
System:
Android SDK Tools : 26.1.1
ios-deploy : 1.9.2
ios-sim : 6.1.2
NodeJS : v8.9.4 (/Users/bilal/.nvm/versions/node/v8.9.4/bin/node)
npm : 6.2.0
OS : macOS High Sierra
Xcode : Xcode 9.4.1 Build version 9F2000
Environment:
ANDROID_HOME : /Users/bilal/Library/Android/sdk
Describe the Bug
Slides getActiveIndex,isBeginning and isEnd methods return not proper value. They return following:
ZoneAwarePromise {__zone_symbol__state: null, __zone_symbol__value: Array[0]}
Steps to Reproduce
Steps to reproduce the behavior:
- Go to stackblitz example.
- Click on
Infobutton. - Check console.
Related Code
https://stackblitz.com/edit/ion-slides-info
Expected Behavior
getActiveIndex method should return index value and isBeginning and isEnd method should return boolean value.
gertoska, bleuscyther, frenmanoj and fabrv