All Projects → vue-bulma → pagination

vue-bulma / pagination

Licence: other
No description or website provided.

Programming Languages

Vue
7211 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to pagination

Vue Bootstrap4 Table
Advanced table based on Vue 2 and Bootstrap 4 ⚡️
Stars: ✭ 187 (+1235.71%)
Mutual labels:  pagination, vue-components
vstx-data-table
A data table component for the Vue Stacks Ecosystem
Stars: ✭ 34 (+142.86%)
Mutual labels:  vue-components, vue-component
vue-virtualised
Blazing fast scrolling and updating for any amount of list and hierarchical data.
Stars: ✭ 18 (+28.57%)
Mutual labels:  vue-components, vue-component
Bootstrap Table
An extended table to integration with some of the most widely used CSS frameworks. (Supports Bootstrap, Semantic UI, Bulma, Material Design, Foundation, Vue.js)
Stars: ✭ 11,068 (+78957.14%)
Mutual labels:  pagination, bulma
vue-tiny-pagination
A Vue component for create a tiny pagination with Flexbox
Stars: ✭ 20 (+42.86%)
Mutual labels:  pagination, vue-component
Vuejs Datatable
A Vue.js component for filterable and paginated tables.
Stars: ✭ 148 (+957.14%)
Mutual labels:  pagination, vue-components
shadow
Shadow dom support for Vue
Stars: ✭ 46 (+228.57%)
Mutual labels:  vue-components, vue-component
Vue Diagrams
Diagram component for vue.js, inspired by react-diagrams
Stars: ✭ 218 (+1457.14%)
Mutual labels:  vue-components, vue-component
vue-drag-zone
Drag Zone component for @vuejs
Stars: ✭ 127 (+807.14%)
Mutual labels:  vue-components, vue-component
pagination
Aplus Framework Pagination Library
Stars: ✭ 167 (+1092.86%)
Mutual labels:  pagination, bulma
Vuejs Paginate
A Vue.js(v2.x+) component for creating pagination.
Stars: ✭ 697 (+4878.57%)
Mutual labels:  pagination, vue-components
v-page
A simple pagination bar, including length Menu, i18n support, based on Vue2.x
Stars: ✭ 85 (+507.14%)
Mutual labels:  pagination, vue-components
Vue Switches
An on/off switch component for Vue.js with theme support.
Stars: ✭ 188 (+1242.86%)
Mutual labels:  bulma, vue-components
vue-mapbox-map
A minimalist Vue component wrapping Mapbox GL or MapLibre GL for dynamic interaction!
Stars: ✭ 26 (+85.71%)
Mutual labels:  vue-components, vue-component
Vue Form Json Schema
Create forms using JSON schema. Bring your components!
Stars: ✭ 253 (+1707.14%)
Mutual labels:  vue-components, vue-component
unique-ui
一个用于Vue2.x的移动端组件库
Stars: ✭ 43 (+207.14%)
Mutual labels:  vue-components, vue-component
Vue Awesome Swiper
🏆 Swiper component for @vuejs
Stars: ✭ 12,072 (+86128.57%)
Mutual labels:  vue-components, vue-component
Vue Codemirror
⌨️ @codemirror component for @vuejs
Stars: ✭ 2,115 (+15007.14%)
Mutual labels:  vue-components, vue-component
v-owl-carousel
🦉 VueJS wrapper for Owl Carousel
Stars: ✭ 46 (+228.57%)
Mutual labels:  vue-components, vue-component
vue-checkbox-switch
A Vue component for checkbox's switch style
Stars: ✭ 36 (+157.14%)
Mutual labels:  bulma, vue-components

Pagination

Pagination component for Vue Bulma.

Installation

$ npm install vue-bulma-pagination --save
# or
$ yarn add vue-bulma-pagination --save

Examples

<template>
  <div>
    <pagination :urlPrefix="'/'" :currentPage="2" :lastPage="100" />
  </div>
</template>

<script>
import Pagination from 'vue-bulma-pagination/src/Pagination'

export default {
  components: {
    Pagination
  }
}
</script>

Document

props required default optional desc
urlPrefix false '/' urlPrefix for vue-router
urlBuilder false urlBuilder urlBuilder result will passed to vue-router link to prop
currentPage true 1
lastPage true the last page number
displayPage false 4 page number will to be displayed
modifiers false '' '','is-centered','is-right'
prev false 'Prev' text of prev button
next false 'Next' text of next button

urlBuilder(pageNum)

Returned value will be passed to router-link as :to prop. See example below:

<template>
  <div class="container">
    <pagination :urlBuilder="urlBuilder" :currentPage="2" :lastPage="100" />
  </div>
</template>

<script>
import Pagination from 'vue-bulma-pagination/src/Pagination'

export default {
  components: {
    Pagination
  },

  methods: {
    urlBuilder (page) {
      return { query: { ...this.$route.query, page } } // Changing page in location query
    }
  }
}
</script>

Badges


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].