{"id":17770402,"url":"https://github.com/gampleman/angular-keyboard","last_synced_at":"2025-03-15T14:30:58.248Z","repository":{"id":16624780,"uuid":"19379824","full_name":"gampleman/angular-keyboard","owner":"gampleman","description":"A user interface toolkit for adding declaratively keyboard navigation to your web apps","archived":false,"fork":false,"pushed_at":"2016-01-11T12:23:14.000Z","size":684,"stargazers_count":16,"open_issues_count":3,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-27T03:11:46.295Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://code.gampleman.eu/angular-keyboard/#/api/angular-keyboard","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"jxcore/jxcore","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gampleman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-05-02T15:42:45.000Z","updated_at":"2017-03-31T13:06:50.000Z","dependencies_parsed_at":"2022-07-26T08:32:03.308Z","dependency_job_id":null,"html_url":"https://github.com/gampleman/angular-keyboard","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/gampleman%2Fangular-keyboard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gampleman%2Fangular-keyboard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gampleman%2Fangular-keyboard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gampleman%2Fangular-keyboard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gampleman","download_url":"https://codeload.github.com/gampleman/angular-keyboard/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243742754,"owners_count":20340698,"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-26T21:22:50.455Z","updated_at":"2025-03-15T14:30:58.243Z","avatar_url":"https://github.com/gampleman.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"angular-keyboard\n================\n\n[![Build Status](https://travis-ci.org/gampleman/angular-keyboard.svg?branch=master)](https://travis-ci.org/gampleman/angular-keyboard)\n\nangular-keyboard is a user interface toolkit for adding declaratively keyboard navigation to your web apps.\n\nPlease see the [docs](http://code.gampleman.eu/angular-keyboard/) for more information.\n\nInstall\n-------\n\nUsing bower:\n\n```\nbower install --save angular-keyboard-shortcuts\n```\n\n(The name is `angular-keyboard-shortcuts`, since `angular-keyboard` is taken by another project).\n\nFeatures\n--------\n\n- Simple and declarative definition of keyboard shortcuts\n- `mod` shorcut transforms to `command` on OSX and to `control` on other platforms\n- Support for GMail style keyboard shortcut sequences\n- Automatically generate help screen for currently available shortcuts\n- Use the API to define shortcuts dynamically in your code\n- Support for keyboard selection on collections and shortcuts for acting on current selection\n\nUsage\n-----\n\nThere is a number of ways to use angular-keyboard, but the simplest is probably to use the declarative approach:\n\n~~~html\n\u003ca ng-click=\"goToPreferences()\" keyboard-shortcut=\"control+,\"\u003ePreferences\u003c/a\u003e\n~~~\n\nIf the user presses `control ,`, the `goToPreferences` function will be invoked.\n\nYou can add\n\n~~~html\n\u003ckeyboard-help\u003e\u003c/keyboard-help\u003e\n~~~\n\nand this will be transformed into a user visible screen that shows the currently accessible keyboard shortcuts.\n\nKudos\n-----\n\nThe code relies on the [Mousetrap library](https://github.com/ccampbell/mousetrap) by [Craig Campbell](http://craig.is/).\n\nMaintained By\n-------------\n[Jakub Hampl](https://github.com/gampleman) - http://gampleman.eu\n\n\nLicense\n-------\n\nThe MIT License (MIT)\n\nCopyright (c) 2014 RightScale\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgampleman%2Fangular-keyboard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgampleman%2Fangular-keyboard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgampleman%2Fangular-keyboard/lists"}