{"id":18030463,"url":"https://github.com/danielkucal/angular-clickable-click","last_synced_at":"2025-03-27T03:31:21.618Z","repository":{"id":31867607,"uuid":"129636950","full_name":"DanielKucal/angular-clickable-click","owner":"DanielKucal","description":"Adds cursor: pointer styling to elements having (click) directive, prevents event when disabled.","archived":false,"fork":false,"pushed_at":"2022-06-02T20:01:05.000Z","size":36,"stargazers_count":5,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-18T01:36:42.564Z","etag":null,"topics":["angular","angular-directive","angular4"],"latest_commit_sha":null,"homepage":"https://stackblitz.com/edit/angular-gitter-qnta72?file=app%2Fapp.component.ts","language":"TypeScript","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/DanielKucal.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":"2018-04-15T18:06:03.000Z","updated_at":"2022-10-05T19:38:41.000Z","dependencies_parsed_at":"2022-07-28T12:19:13.243Z","dependency_job_id":null,"html_url":"https://github.com/DanielKucal/angular-clickable-click","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielKucal%2Fangular-clickable-click","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielKucal%2Fangular-clickable-click/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielKucal%2Fangular-clickable-click/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielKucal%2Fangular-clickable-click/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DanielKucal","download_url":"https://codeload.github.com/DanielKucal/angular-clickable-click/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245778718,"owners_count":20670682,"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-directive","angular4"],"created_at":"2024-10-30T09:14:21.065Z","updated_at":"2025-03-27T03:31:21.328Z","avatar_url":"https://github.com/DanielKucal.png","language":"TypeScript","readme":"# Clickable `(click)` for Angular 2+\nAngular 2+ Directive adding pointer cursor for elements using `(click)` directive.\nRespects `[disabled]` input.\n\n## Installation\n1. Get it from `npm i angular-clickable-click --save`\n2. Import `ClickableClickModule`\n    ```typescript\n    import { ClickableClickModule } from 'angular-clickable-click';\n\n    @NgModule({\n      // ...\n      imports: [ClickableClickModule],\n      // ...\n    })\n    class AppModule {}\n    ```\n\n## Usage ([click here for a demo](https://stackblitz.com/edit/angular-gitter-qnta72?file=app%2Fapp.component.ts))\n```typescript\n@Component({\n  selector: 'app',\n  template: `\n    \u003cdiv (click)=\"isDisabled = true\" [disabled]=\"isDisabled\"\u003e\n    I am \u003cb *ngIf=\"isDisabled\"\u003eno longer\u003c/b\u003e clickable\n    \u003c/div\u003e\n  `\n})\nexport class AppComponent {\n  public isDisabled: boolean = false;\n}\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielkucal%2Fangular-clickable-click","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielkucal%2Fangular-clickable-click","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielkucal%2Fangular-clickable-click/lists"}