All Projects → TerryZ → v-page

TerryZ / v-page

Licence: MIT license
A simple pagination bar, including length Menu, i18n support, based on Vue2.x

Programming Languages

javascript
184084 projects - #8 most used programming language
Sass
350 projects

Projects that are alternatives of or similar to v-page

Heyui
🎉UI Toolkit for Web, Vue2.0 http://www.heyui.top
Stars: ✭ 2,373 (+2691.76%)
Mutual labels:  i18n, vue-components, vue2
V Selectpage
SelectPage for Vue2, list or table view of pagination, use tags for multiple selection, i18n and server side resources supports
Stars: ✭ 211 (+148.24%)
Mutual labels:  i18n, pagination, vue2
Vuejs Paginate
A Vue.js(v2.x+) component for creating pagination.
Stars: ✭ 697 (+720%)
Mutual labels:  pagination, vue-components, vue2
Queryql
Easily add filtering, sorting, and pagination to your Node.js REST API through your old friend: the query string!
Stars: ✭ 76 (-10.59%)
Mutual labels:  pagination, page
pagination
No description or website provided.
Stars: ✭ 14 (-83.53%)
Mutual labels:  pagination, vue-components
Vue Datasource
A vue.js component to create dynamic tables
Stars: ✭ 420 (+394.12%)
Mutual labels:  pagination, vue2
Vuejs Datatable
A Vue.js component for filterable and paginated tables.
Stars: ✭ 148 (+74.12%)
Mutual labels:  pagination, vue-components
Vue Bootstrap4 Table
Advanced table based on Vue 2 and Bootstrap 4 ⚡️
Stars: ✭ 187 (+120%)
Mutual labels:  pagination, vue-components
hoc-element-table
📦 A Vue 3.x Table Component built on Webpack 5
Stars: ✭ 26 (-69.41%)
Mutual labels:  vue-components, vue2
vue-drag-zone
Drag Zone component for @vuejs
Stars: ✭ 127 (+49.41%)
Mutual labels:  vue-components, vue2
qiokian
🙊 live2d anime waifu vuejs component.
Stars: ✭ 34 (-60%)
Mutual labels:  i18n, vue2
cuida
A design system built by Sysvale, using storybook and Vue components
Stars: ✭ 16 (-81.18%)
Mutual labels:  vue-components, vue2
Vue Form Json Schema
Create forms using JSON schema. Bring your components!
Stars: ✭ 253 (+197.65%)
Mutual labels:  vue-components, vue2
Vuemmerce
👉 Responsive ecommerce template 🛒 built with Vue.js and Nuxt.js
Stars: ✭ 223 (+162.35%)
Mutual labels:  vue-components, vue2
V Bar
The virtual responsive crossbrowser scrollbar component for VueJS 2x
Stars: ✭ 216 (+154.12%)
Mutual labels:  vue-components, vue2
Amaze Vue
一只基于amazeui样式封装的vue组件库。万水千山总是情,点个star再走行不行~~~
Stars: ✭ 211 (+148.24%)
Mutual labels:  vue-components, vue2
Vue Codemirror
⌨️ @codemirror component for @vuejs
Stars: ✭ 2,115 (+2388.24%)
Mutual labels:  vue-components, vue2
Vue Objccn
🔥 Use Vue.js to develop a cross-platform full stack application / 用 Vue.js 开发的跨三端应用
Stars: ✭ 1,993 (+2244.71%)
Mutual labels:  vue-components, vue2
fluent-vue
Internationalization plugin for Vue.js
Stars: ✭ 137 (+61.18%)
Mutual labels:  i18n, vue2
v-intl
Add i18n to your awesome Vue 3 app 🔉
Stars: ✭ 13 (-84.71%)
Mutual labels:  vue-components, vue2

v-page · circle ci code coverage npm version license npm download JavaScript Style Guide

A simple pagination bar, including size Menu, i18n support, based on Vue2

v-page

Examples and Documentation

Live Examples on CodePen, more exmaples and documentation please visit below sites

The jQuery version: bPage

Installation

npm i -S v-page

Include and install plugin in your main.js file.

// add component in global scope as plugin
import Vue from 'vue'
import Page from 'v-page'
Vue.use(Page, {
  global config options
})

You also can use v-page in local component

<template>
  <v-page></v-page>
</template>

<script>
import { Page } from 'v-page'
export default {
  components: {
    'v-page': Page
  }
}
</script>

Usage

<template>
  <v-page
    :total-row="totalRow"
    @page-change="pageChange"
  ></v-page>
</template>

<script>
export default {
  data () {
    return {
      totalRow: 100 // required option
    }
  },
  methods: {
    // receive page info change callback
    pageChange (pInfo) {
      console.log(pInfo) // { pageNumber: 1, pageSize: 10 }
    }
  }
}
</script>
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].