How to use vue-pagination-2 - 3 common examples

To help you get started, we’ve selected a few vue-pagination-2 examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Swastika-IO / sio.core / src / Swastika.UI.Spa / ClientApp / components / blog / paging-container / paging-container.ts View on Github external
mounted() {
        this.loadPage(0);
        var me = this;
        PaginationEvent.$on('vue-pagination::models', function (page) {
            // display the relevant records using the page param
            me.loadPage(page - 1);
        });

    }
}
github matfish2 / vue-tables-2 / compiled / v-server-table.js View on Github external
exports.install = function (Vue, globalOptions, useVuex) {
  var theme = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : "bootstrap3";
  var template = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : "default";
  var state = useVuex ? (0, _vuex["default"])("server") : (0, _normal["default"])();

  var server = _merge["default"].recursive(true, (0, _table["default"])(), {
    name: "server-table",
    components: {
      Pagination: _vuePagination.Pagination
    },
    render: templateCompiler.call(this, template, theme),
    props: {
      columns: {
        type: Array,
        required: true
      },
      url: {
        type: String
      },
      name: {
        type: String,
        required: false
      },
      options: {
        type: Object,
github matfish2 / vue-tables-2 / compiled / v-client-table.js View on Github external
exports.install = function (Vue, globalOptions, useVuex) {
  var theme = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : "bootstrap3";
  var template = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : "default";

  var client = _merge["default"].recursive(true, (0, _table["default"])(), {
    name: "client-table",
    components: {
      Pagination: _vuePagination.Pagination
    },
    render: templateCompiler.call(this, template, theme),
    props: {
      columns: {
        type: Array,
        required: true
      },
      data: {
        type: Array,
        required: true
      },
      name: {
        type: String,
        required: false
      },
      options: {

vue-pagination-2

Vue.js 2 pagination component

MIT
Latest version published 6 months ago

Package Health Score

50 / 100
Full package analysis