{"id":24444271,"url":"https://github.com/ybrusentsov/vue-pagination-simple","last_synced_at":"2026-04-01T21:49:21.860Z","repository":{"id":143926420,"uuid":"119179940","full_name":"ybrusentsov/vue-pagination-simple","owner":"ybrusentsov","description":"simple vue pagination module","archived":false,"fork":false,"pushed_at":"2018-01-28T19:05:44.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-03-28T00:22:49.745Z","etag":null,"topics":["vue-components","vue-pagination"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/vue-pagination-simple","language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ybrusentsov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-01-27T16:14:36.000Z","updated_at":"2022-10-29T21:24:05.000Z","dependencies_parsed_at":"2024-03-01T22:15:18.686Z","dependency_job_id":null,"html_url":"https://github.com/ybrusentsov/vue-pagination-simple","commit_stats":null,"previous_names":["goveo/vue-pagination-simple"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ybrusentsov/vue-pagination-simple","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ybrusentsov%2Fvue-pagination-simple","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ybrusentsov%2Fvue-pagination-simple/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ybrusentsov%2Fvue-pagination-simple/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ybrusentsov%2Fvue-pagination-simple/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ybrusentsov","download_url":"https://codeload.github.com/ybrusentsov/vue-pagination-simple/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ybrusentsov%2Fvue-pagination-simple/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31292551,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T21:15:39.731Z","status":"ssl_error","status_checked_at":"2026-04-01T21:15:34.046Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["vue-components","vue-pagination"],"created_at":"2025-01-20T22:51:32.973Z","updated_at":"2026-04-01T21:49:21.845Z","avatar_url":"https://github.com/ybrusentsov.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"vue-pagination-simple\n=============\n\nSimple pagination vue component\n\n## Installation\n---------------\n### npm\n``` sh\nnpm install --save vue-pagination-simple\n```\n\n## Usage\n---------------\n\n```html\n\u003ctemplate\u003e\n\t\u003cdiv\u003e\n\t\t\u003capp-pagination class=\"center\"\n    \t\t:current=\"currentPage\" \n    \t\t:total=\"totalPages\" \n    \t\t:page-range=\"pageRange\"\n    \t\t:active-font-color=\"'black'\"\n    \t\t:active-color=\"'#007DFF'\"\n    \t\t@page-changed=\"changePage\"\n    \t\u003e\u003c/app-pagination\u003e\n\t\u003c/div\u003e\n\u003c/template\u003e\n\n\u003cscript\u003e\nexport default {\n\tname: 'app',\n\tdata () {\n\t\treturn {\n\t\t\tcurrentPage: 6,\n\t\t\ttotalPages: 10,\n\t\t\tpageRange: 2\n\t\t}\n\t},\n\tmethods: {\n\t\tchangePage(page) {\n\t\t\tconsole.log(`page changed on ${page}`);\n\t\t\tthis.currentPage = page;\n\t\t}\n\t}\n}\n\u003c/script\u003e\n\n\u003cstyle scoped\u003e\n\n// you can add style of pagination hover and border by class .pagination\n\n.pagination a:hover:not(.active) {\n\tbackground-color: #ddd;\n}\n\n.pagination a {\n\tborder: 1px solid #ddd;\n}\n\n.center {\n  display: flex;\n  justify-content: center;\n}\n\n\u003c/style\u003e\n\n```\n## Example\n---------------\n\n\u003cimg src=\"https://i.imgur.com/y9LgCDm.jpg\" alt=\"pagination example\"\u003e\u003c/img\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fybrusentsov%2Fvue-pagination-simple","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fybrusentsov%2Fvue-pagination-simple","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fybrusentsov%2Fvue-pagination-simple/lists"}