src/Select/Select.js
/**
	 * Set the offset based on the limit with the given page number
	 * @param {Number|String} number  The page number (integer greater than 0)
	 * @return {Select}
	 */
Set the offset based on the limit with the given page number
@param {Number|String} number  The page number (integer greater than 0)
@return {Select}
Set the offset based on the limit with the given page number @param { Number|String } number The page number ( integer greater than 0 ) @return { Select }
page(number) {
		if (typeof number === 'string') {
			number = number.trim();
			if (this._isEntirelyDigitsNoZeros(number)) {
				this._page = parseInt(number, 10);
			}
		} else if (
			typeof number === 'number' &&
			Number.isInteger(number) &&
			number >= 1
		) {
			this._page = number;
		}
		return this;
	}
page ( number ) { if ( typeof number === 'string' ) { number = number . trim ( ) ; if ( this . _isEntirelyDigitsNoZeros ( number ) ) { this . _page = parseInt ( number , 10 ) ; } } else if ( typeof number === 'number' && Number . isInteger ( number ) && number >= 1 ) { this . _page = number ; } return this ; }
Set the offset based on the limit with the given page number
 @param {Number|String} number  The page number (integer greater than 0)
 @return {Select}
Set the offset based on the limit with the given page number @param { Number|String } number The page number ( integer greater than 0 ) @return { Select }
// is entirely digits (no leading zeros)