{"id":19435336,"url":"https://github.com/mattiascaricato/angular-click-and-wait","last_synced_at":"2025-04-24T20:32:30.286Z","repository":{"id":57178154,"uuid":"72960572","full_name":"mattiascaricato/angular-click-and-wait","owner":"mattiascaricato","description":"Simple angular directive to prevent user from clicking multiple times on a element when performing an asynchronous action","archived":false,"fork":false,"pushed_at":"2017-08-28T03:29:19.000Z","size":105,"stargazers_count":3,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-11T20:44:21.438Z","etag":null,"topics":["angular","angular-directives","angularjs"],"latest_commit_sha":null,"homepage":"","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/mattiascaricato.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}},"created_at":"2016-11-06T00:08:35.000Z","updated_at":"2019-11-26T12:32:08.000Z","dependencies_parsed_at":"2022-08-30T05:32:29.980Z","dependency_job_id":null,"html_url":"https://github.com/mattiascaricato/angular-click-and-wait","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattiascaricato%2Fangular-click-and-wait","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattiascaricato%2Fangular-click-and-wait/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattiascaricato%2Fangular-click-and-wait/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattiascaricato%2Fangular-click-and-wait/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mattiascaricato","download_url":"https://codeload.github.com/mattiascaricato/angular-click-and-wait/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250704954,"owners_count":21473789,"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":["angular","angular-directives","angularjs"],"created_at":"2024-11-10T15:05:36.009Z","updated_at":"2025-04-24T20:32:30.045Z","avatar_url":"https://github.com/mattiascaricato.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# angular-click-and-wait\nSimple angular directive to prevent user from clicking multiple times on a element when performing an asynchronous action.\n\n## Install\nInstall with npm or bower\n\n- npm\n    \n    `npm install --save click-and-wait`\n\n- Bower\n    \n    `bower install --save click-and-wait`\n\n## Usage\n1. Add the `clickAndWait` directive as a dependency for your app\n\n    ```javascript\n    angular.module('myApp', ['clickAndWait']);\n    ```\n    \n2. Use the `clickAndWait` directive in any element\n\n    ```html\n    \u003cbutton click-and-wait=\"asyncAction()\"\u003e\u003c/button\u003e\n    ```\n\nThe asynchronous action passed as argument should be a `Promise`. \n\n\n## Contributing\n\n### Dependencies\n- `npm`\n- `yarn`\n\nRun `yarn install` to install dependencies\n\n### Development\n\n1. Fork it!\n2. Create your feature branch `git checkout -b feature/my-new-feature`\n4. run `yarn tdd`\n5. Write ES6/ES2015+ code using the [Airbnb Style Guide](https://github.com/airbnb/javascript)\n6. run `yarn build` to build the new version\n7. Commit your changes: `git commit -am 'Add some feature'`\n8. Push to the branch: `git push origin feature/my-new-feature`\n9. Submit a pull request 😁\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattiascaricato%2Fangular-click-and-wait","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmattiascaricato%2Fangular-click-and-wait","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattiascaricato%2Fangular-click-and-wait/lists"}