Skip to content

DinnerKang/vue-pagination

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vue-pagination

Supports Vue 2.x
Test Version is 0.1.x

https://www.npmjs.com/package/@dinnerkang/vue-pagination

Introduction

You can create a bulletin board with just array data.
Use it comfortably !

I want Git Star...

installation

npm install --save @dinnerkang/vue-pagination

Usage

props: {
    data: {
      type: Array,
      required: true
    },
    isIndex: {
      type: Boolean
    }
  },
<template>
    <div>
        <Pagination :data="array" :isIndex="true"></Pagination>
    </div>
</template>

<script>
import Pagination from '@dinnerkang/vue-pagination'
export default{
    data(){
        return{
            array : [{
                "English Data" : "c",
                "한글 데이터" : "한국어 테스트 5",
                "中国 数据" : "你好 3"
            },{
                "English Data" : "test data",
                "한글 데이터" : "한국어 테스트 2",
                "中国 数据" : "你好 4"
            }, ...........
            ]
        }
    }
}
</script>

You must have a ' :data="Your Array" '

Sorting is available

If you do not want to 'Index' you must have a ' :isIndex="true" '

Questions or Issue

Please send mail to [email protected] or Leave the issue to Git

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published