{"size": 312, "ext": "js", "max_stars_repo_path": "compiled/methods/set-page.js", "max_stars_repo_name": "akozlov-dogezer/vue-tables-2", "max_stars_repo_stars_event_min_datetime": "2019-01-24T20:22:54.000Z", "max_stars_repo_stars_event_max_datetime": "2019-04-07T14:05:04.000Z", "max_issues_repo_path": "compiled/methods/set-page.js", "max_issues_repo_name": "akozlov-dogezer/vue-tables-2", "max_issues_repo_issues_event_min_datetime": "2019-04-17T17:29:42.000Z", "max_issues_repo_issues_event_max_datetime": "2019-04-17T20:32:28.000Z", "max_forks_repo_path": "node_modules/vue-tables-2/compiled/methods/set-page.js", "max_forks_repo_name": "thel5coder/jumbara9jatim", "max_forks_repo_forks_event_min_datetime": "2019-06-24T15:59:03.000Z", "max_forks_repo_forks_event_max_datetime": "2019-06-24T15:59:03.000Z"}
{"max_stars_count": 2, "max_issues_count": 3, "max_forks_count": 1, "avg_line_length": 22.2857142857, "max_line_length": 72, "alphanum_fraction": 0.6698717949}
'use strict';

module.exports = function (page, preventRequest) {

  page = page ? page : this.$refs.page.value;

  if (!this.opts.pagination.dropdown) this.$refs.pagination.Page = page;

  this.page = page;

  this.updateState('page', page);

  if (this.source == 'server' && !preventRequest) this.getData();
};