@vuepress-reco/vuepress-plugin-pagation

1.6.17 • Public • Published

@vuepress-reco/vuepress-plugin-pagation

demo.png

Details

Pagation plugin for vuepress-theme-reco or other vuepress theme.

使用位置
plugin name @vuepress-reco/vuepress-plugin-pagation
component name Pagation(主题开发时使用)

Options

主题开发过程中作为组件使用,以下为组件的参数(不是插件注入时的参数)。

Attributes

参数 说明 类型 默认值 可选值
total 数据总数量 number 10 -
perPage 每页多少条 number 10 -
currentPage 当前是第几页 number 1 -

Events

事件名称 说明 回调参数
getCurrentPage 获取当前是第几页 currentPage: 当前页码

Package Sidebar

Install

npm i @vuepress-reco/vuepress-plugin-pagation

Weekly Downloads

210

Version

1.6.17

License

MIT

Unpacked Size

15.8 kB

Total Files

10

Last publish

Collaborators

  • reco_luan