{"id":17959980,"url":"https://github.com/febobo/angular-pagination","last_synced_at":"2026-03-09T18:37:14.427Z","repository":{"id":35411477,"uuid":"39676217","full_name":"febobo/angular-pagination","owner":"febobo","description":"基于angular扩展可复用分页指令","archived":false,"fork":false,"pushed_at":"2016-01-08T07:19:39.000Z","size":168,"stargazers_count":9,"open_issues_count":0,"forks_count":6,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-26T14:48:48.119Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/febobo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-25T07:16:17.000Z","updated_at":"2019-01-20T10:53:36.000Z","dependencies_parsed_at":"2022-09-12T06:11:54.262Z","dependency_job_id":null,"html_url":"https://github.com/febobo/angular-pagination","commit_stats":null,"previous_names":["febobo/angular-paganation"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/febobo/angular-pagination","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/febobo%2Fangular-pagination","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/febobo%2Fangular-pagination/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/febobo%2Fangular-pagination/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/febobo%2Fangular-pagination/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/febobo","download_url":"https://codeload.github.com/febobo/angular-pagination/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/febobo%2Fangular-pagination/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30307548,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T17:35:44.120Z","status":"ssl_error","status_checked_at":"2026-03-09T17:35:43.707Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":[],"created_at":"2024-10-29T11:04:53.803Z","updated_at":"2026-03-09T18:37:14.396Z","avatar_url":"https://github.com/febobo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"#angular-pagination\n\n\n### 关于\n* 基于angular 编写的可复用分页指令\n\n\n\n### 安装\n```\n克隆项目到本地\ngit clone https://github.com/febobo/angular-pagination.git\n\n要跑demo环境要求\nnode , bower , npm , gulp\n\n安装\nnpm install \u0026\u0026 bower install\n\n运行\ngulp serve\n\n```\n\n### 使用\n#### demo用法\n#### html\n```\n\u003cbody ng-app=\"demo\" ng-controller=\"demoCtro\" class=\"row text-center\"\u003e\n    \u003cdiv ui-pagination conf=\"conf\"\u003e\u003c/div\u003e\n  \u003c/body\u003e\n\n```\n\n#### js\n```\nvar app = angular.module('demo' , ['pagination']);\n\n  app.controller('demoCtro' , function($scope){\n\n      $scope.title = 'pagination-directive';\n\n      $scope.conf = {\n\n        // 总条数\n        total : 1190,\n\n        // 当前页\n        currentPage : 1,\n\n        // 一页展示多少条\n        itemPageLimit : 1,\n\n        // 是否显示一页选择多少条\n        isSelectPage : false,\n\n        // 是否显示快速跳转\n        isLinkPage : false\n      }\n\n      // 监控你的页码 ， 发生改变既请求\n      $scope.$watch('conf.currentPage + conf.itemPageLimit' , function(news){\n         // 把你的http请求放到这里\n         console.log($scope.conf.currentPage , $scope.conf.itemPageLimit)\n      })\n  })\n\n```\n#### Q\u0026A\n@febobo\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffebobo%2Fangular-pagination","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffebobo%2Fangular-pagination","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffebobo%2Fangular-pagination/lists"}