{"id":16227647,"url":"https://github.com/leafoftree/ngplaceholder","last_synced_at":"2025-04-08T04:28:19.324Z","repository":{"id":98919554,"uuid":"120243673","full_name":"leafOfTree/ngPlaceholder","owner":"leafOfTree","description":"用于 input 的 AngularJS placeholder 指令","archived":false,"fork":false,"pushed_at":"2018-02-05T02:35:22.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-22T05:32:51.456Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","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/leafOfTree.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-02-05T02:14:11.000Z","updated_at":"2018-02-05T02:15:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"dd198dc5-a9bf-49ee-aaad-e9812f4ef605","html_url":"https://github.com/leafOfTree/ngPlaceholder","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leafOfTree%2FngPlaceholder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leafOfTree%2FngPlaceholder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leafOfTree%2FngPlaceholder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leafOfTree%2FngPlaceholder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leafOfTree","download_url":"https://codeload.github.com/leafOfTree/ngPlaceholder/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247777874,"owners_count":20994366,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-10T12:53:24.117Z","updated_at":"2025-04-08T04:28:19.307Z","avatar_url":"https://github.com/leafOfTree.png","language":"HTML","readme":"# AngularJS placeholder 指令\n\n## 使用 \n\n加入`ngPlaceholder`模块\n\n```javascript\nangular.module('yourapp', ['ngPlaceholder'])\n    ...\n```\n\n在 HTML 中使用 `ng-placeholder`\n\n```html\n\u003cinput type=\"text\" ng-placeholder='{{placeholder}}'/\u003e\n```\n\n## 安装\n\n下载\n\n    git clone https://github.com/leafOfTree/ngPlaceholder\n\n添加 ngPlaceholder.js 到项目中\n\n```html\n\u003cscript src=\"ngPlaceholder/ngPlaceholder.js\"\u003e\u003c/script\u003e\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleafoftree%2Fngplaceholder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleafoftree%2Fngplaceholder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleafoftree%2Fngplaceholder/lists"}