src/js/components/layout-vertical.js
function () {
            var state = this.state,
                currentPage = state.pages[state.currentPage - 1],
                rowIndex = currentPage.rowIndex,
                prevRow = state.rows[rowIndex - 1];
            return prevRow && prevRow[0] + 1 || state.currentPage;
        }
function () {
            var state = this.state,
                currentPage = state.pages[state.currentPage - 1],
                rowIndex = currentPage.rowIndex,
                prevRow = state.rows[rowIndex - 1];
            return prevRow && prevRow[0] + 1 || state.currentPage;
        }
function ( ) { var state = this . state , currentPage = state . pages [ state . currentPage - 1 ] , rowIndex = currentPage . rowIndex , prevRow = state . rows [ rowIndex - 1 ] ; return prevRow && prevRow [ 0 ] + 1 || state . currentPage ; }
Calculates the previous page
@returns {int} The previous page number
Calculates the previous page