# 分页器 **Repository Path**: chamiwang/pager ## Basic Information - **Project Name**: 分页器 - **Description**: 什么都不依赖的分页控件 - **Primary Language**: JavaScript - **License**: WTFPL - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-10-10 - **Last Updated**: 2022-11-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # pagination 分页器 make pagination eazy 傻子也能用的分页器 ## how to use ### 1、u should download the pager.js use it just like 把js搞下来再配个标签就行 ```html ``` ### 2、u may like boostrap css 最好再搞个bootstrap css,省的自己配样式 ```html ``` ### 3、 parameters 这些是参数 #### showPager(page_number ,current_page, show_number, callback) --- | field | type | description | | ------------- |:-------------:| :-----| |page_number|int|how many pages u have| |current_page|int|which page now| |show_number|int|u want to show| |callback|int|callback| --- ### 4、enjoy it 就这样