function PageManager(activate, animationDelayMs) {
            if (activate === void 0) { activate = true; }
            if (animationDelayMs === void 0) { animationDelayMs = 300; }
            this.pages = new Array();
            this.currentPageIndex = -1;
            this.currentPage = null;
            this.lastPageIndex = 0;
            this._inTransition = false;
            this._animationDelayMs = 300;
            if (activate)
                this.activate();
            this.setAnimationDelay(animationDelayMs);
        }
/**
         * create a new page manager and call .activate() to hook events
         */
create a new page manager and call .activate() to hook events
create a new page manager and call . activate () to hook events
function PageManager(activate, animationDelayMs) {
            if (activate === void 0) { activate = true; }
            if (animationDelayMs === void 0) { animationDelayMs = 300; }
            this.pages = new Array();
            this.currentPageIndex = -1;
            this.currentPage = null;
            this.lastPageIndex = 0;
            this._inTransition = false;
            this._animationDelayMs = 300;
            if (activate)
                this.activate();
            this.setAnimationDelay(animationDelayMs);
        }
function PageManager ( activate , animationDelayMs ) { if ( activate === void 0 ) { activate = true ; } if ( animationDelayMs === void 0 ) { animationDelayMs = 300 ; } this . pages = new Array ( ) ; this . currentPageIndex = - 1 ; this . currentPage = null ; this . lastPageIndex = 0 ; this . _inTransition = false ; this . _animationDelayMs = 300 ; if ( activate ) this . activate ( ) ; this . setAnimationDelay ( animationDelayMs ) ; }
create a new page manager and call .activate() to hook events
create a new page manager and call . activate () to hook events