{"id":16832633,"url":"https://github.com/zswang/h5tap","last_synced_at":"2025-10-30T04:35:14.714Z","repository":{"id":143802174,"uuid":"73985475","full_name":"zswang/h5tap","owner":"zswang","description":"Tap event trigger of mobile.","archived":false,"fork":false,"pushed_at":"2016-11-23T08:34:27.000Z","size":16,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-24T22:49:07.025Z","etag":null,"topics":["javascript","mobile-web","tap-event"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/zswang.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":"2016-11-17T03:13:11.000Z","updated_at":"2017-04-05T02:15:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"cbb03d60-2761-438b-ad18-85be1ab1f474","html_url":"https://github.com/zswang/h5tap","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zswang%2Fh5tap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zswang%2Fh5tap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zswang%2Fh5tap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zswang%2Fh5tap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zswang","download_url":"https://codeload.github.com/zswang/h5tap/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244135897,"owners_count":20403797,"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":["javascript","mobile-web","tap-event"],"created_at":"2024-10-13T11:49:50.557Z","updated_at":"2025-10-30T04:35:09.692Z","avatar_url":"https://github.com/zswang.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"h5tap Tap event trigger of Moblie.\n-----\n\n# [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Coverage Status][coverage-image]][coverage-url]\n\nSmaller than smaller. \n\n无他，就是小\n\n## 使用方法\n\n### 绑定事件 bind\n\n```html\n\u003cdiv\u003e\n   \u003cbutton cmd=\"save\"\u003e\u003cspan\u003e保存\u003c/span\u003e\u003c/button\u003e\n   \u003cbutton cmd=\"load\"\u003e\u003c/button\u003e\n\u003c/div\u003e\n```\n\n```js\nh5tap('div', '[cmd]', function (target) {\n  console.log(target.getAttribute('cmd'));\n  // \u003e save\n  // * done\n});\n```\n\n## License\n\nMIT © [zswang](http://weibo.com/zswang)\n\n[npm-url]: https://npmjs.org/package/h5tap\n[npm-image]: https://badge.fury.io/js/h5tap.svg\n[travis-url]: https://travis-ci.org/zswang/h5tap\n[travis-image]: https://travis-ci.org/zswang/h5tap.svg?branch=master\n[coverage-url]: https://coveralls.io/github/zswang/h5tap?branch=master\n[coverage-image]: https://coveralls.io/repos/zswang/h5tap/badge.svg?branch=master\u0026service=github\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzswang%2Fh5tap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzswang%2Fh5tap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzswang%2Fh5tap/lists"}