@@ -72,6 +72,9 @@ export class SlideContainer extends AbsoluteLayout {
72
72
return this . _pageIndicators ;
73
73
}
74
74
set pageIndicators ( value : boolean ) {
75
+ if ( typeof value === 'string' ) {
76
+ value = ( < any > value == 'true' ) ;
77
+ }
75
78
this . _pageIndicators = value ;
76
79
}
77
80
@@ -170,7 +173,7 @@ export class SlideContainer extends AbsoluteLayout {
170
173
171
174
public constructView ( constructor : boolean = false ) : void {
172
175
this . on ( AbsoluteLayout . loadedEvent , ( data : any ) => {
173
- console . log ( 'LOADDED EVENT' ) ;
176
+ //// console.log('LOADDED EVENT');
174
177
if ( ! this . _loaded ) {
175
178
this . _loaded = true ;
176
179
if ( this . angular === true && constructor === true ) {
@@ -214,7 +217,7 @@ export class SlideContainer extends AbsoluteLayout {
214
217
app . on ( app . orientationChangedEvent , ( args : app . OrientationChangedEventData ) => {
215
218
//event and page orientation didn't seem to alwasy be on the same page so setting it in the time out addresses this.
216
219
setTimeout ( ( ) => {
217
- console . log ( 'orientationChangedEvent' ) ;
220
+ // console.log('orientationChangedEvent');
218
221
this . width = parseInt ( this . slideWidth ) ;
219
222
this . eachLayoutChild ( ( view : View ) => {
220
223
if ( view instanceof StackLayout ) {
@@ -317,7 +320,7 @@ export class SlideContainer extends AbsoluteLayout {
317
320
}
318
321
} ) ;
319
322
} else {
320
- console . log ( 'invalid index' ) ;
323
+ // console.log('invalid index');
321
324
}
322
325
}
323
326
0 commit comments