Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

v-page

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

v-page

A simple pagination bar, based on Vue2.x

  • 2.0.4
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
424
increased by13.67%
Maintainers
1
Weekly downloads
 
Created
Source



v-page



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

v-page






Demos and Documents

Explorer on

The jQuery version: bPage



Vue plugin series

PluginStatusDescription
v-pagenpm versionA simple pagination bar, including length Menu, i18n support
v-dialogsnpm versionA simple and powerful dialog, including Modal, Alert, Mask and Toast modes
v-tablegridnpm versionA simpler to use and practical datatable
v-uploadernpm versionA Vue2 plugin to make files upload simple and easier,
you can drag files or select file in dialog to upload
v-ztreenpm versionA simple tree for Vue2, support single or multiple(check) select tree,
and support server side data
v-gallerynpm versionA Vue2 plugin make browsing images in gallery
v-regionnpm versionA simple region selector, provide Chinese administrative division data
v-selectpagenpm versionA powerful selector for Vue2, list or table view of pagination,
use tags for multiple selection, i18n and server side resources supports
v-suggestnpm versionA Vue2 plugin for input suggestions by autocomplete
v-playbacknpm versionA Vue2 plugin to make video play easier
v-selectmenunpm versionA simple, easier and highly customized menu solution



Install

npm i v-page --save

Include plugin in your main.js file.

import Vue from 'vue'
import vPage from 'v-page';
Vue.use(vPage, { global config options });

Deploy on your component

template code

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

script code

export default {
  name: 'myComponent',
  data(){
    return {
      totalRow: 100//required option
    }
  },
  methods:{
    //receive page info change callback
    pageChange(pInfo){
      console.log(pInfo);//{pageNumber: 1, pageSize: 10}
    }
  }
};

Keywords

FAQs

Package last updated on 11 Dec 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc