{"id":23119752,"url":"https://github.com/alisabzevari/nghotkey","last_synced_at":"2025-04-04T02:41:50.750Z","repository":{"id":12116493,"uuid":"14706403","full_name":"alisabzevari/NgHotkey","owner":"alisabzevari","description":"Provide hotkey functionality in AngularJS using Mousetrap","archived":false,"fork":false,"pushed_at":"2013-11-27T14:26:12.000Z","size":284,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-09T14:25:09.925Z","etag":null,"topics":["angularjs","hotkey-functionality","mousetrap"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alisabzevari.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":"2013-11-26T03:55:49.000Z","updated_at":"2014-01-06T13:45:11.000Z","dependencies_parsed_at":"2022-09-11T01:11:42.039Z","dependency_job_id":null,"html_url":"https://github.com/alisabzevari/NgHotkey","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/alisabzevari%2FNgHotkey","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alisabzevari%2FNgHotkey/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alisabzevari%2FNgHotkey/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alisabzevari%2FNgHotkey/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alisabzevari","download_url":"https://codeload.github.com/alisabzevari/NgHotkey/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247112715,"owners_count":20885605,"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":["angularjs","hotkey-functionality","mousetrap"],"created_at":"2024-12-17T05:41:02.396Z","updated_at":"2025-04-04T02:41:50.734Z","avatar_url":"https://github.com/alisabzevari.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"NgHotkey\n========\n\nProvide hotkey functionality in AngularJS using [Mousetrap](https://github.com/ccampbell/mousetrap)\n\n## Getting Started\n1. Include nghotkey on your page\n\n  ```html\n  \u003cscript src=\"/path/to/mousetrap.min.js\"\u003e\u003c/script\u003e\n  \u003cscript src=\"/path/to/nghotkey.js\"\u003e\u003c/script\u003e\n  ```\n  \n2. Put nghotkey to your module dependencies\n\n  ```javascript\n  var app = angular.module('app', ['nghotkey']);\n  ```\n  \n3. Set hotkey for elements or directives using hotkey directive as an attribute\n\n  ```html\n    \u003cinput type=\"text\" hotkey=\"h ?\" hotkey-action=\"keyup\" /\u003e\n    \u003cinput type=\"button\" hotkey=\"ctrl+;\"/\u003e\n  ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falisabzevari%2Fnghotkey","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falisabzevari%2Fnghotkey","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falisabzevari%2Fnghotkey/lists"}