{"id":23624547,"url":"https://github.com/johnhwhite/ng-keyboard-sort","last_synced_at":"2025-09-21T03:31:03.653Z","repository":{"id":65377214,"uuid":"591148229","full_name":"johnhwhite/ng-keyboard-sort","owner":"johnhwhite","description":null,"archived":false,"fork":false,"pushed_at":"2025-09-10T05:12:02.000Z","size":6267,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-10T05:48:01.716Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://johnhwhite.github.io/ng-keyboard-sort/","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/johnhwhite.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-01-20T02:46:32.000Z","updated_at":"2025-09-10T05:11:52.000Z","dependencies_parsed_at":"2024-09-15T04:12:49.573Z","dependency_job_id":"9ffdb2f8-c0c0-4c65-8f17-a348a4336e5c","html_url":"https://github.com/johnhwhite/ng-keyboard-sort","commit_stats":null,"previous_names":[],"tags_count":40,"template":false,"template_full_name":null,"purl":"pkg:github/johnhwhite/ng-keyboard-sort","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnhwhite%2Fng-keyboard-sort","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnhwhite%2Fng-keyboard-sort/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnhwhite%2Fng-keyboard-sort/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnhwhite%2Fng-keyboard-sort/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johnhwhite","download_url":"https://codeload.github.com/johnhwhite/ng-keyboard-sort/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnhwhite%2Fng-keyboard-sort/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276189884,"owners_count":25600280,"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","status":"online","status_checked_at":"2025-09-21T02:00:07.055Z","response_time":72,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-12-27T21:01:07.429Z","updated_at":"2025-09-21T03:31:03.250Z","avatar_url":"https://github.com/johnhwhite.png","language":"TypeScript","funding_links":[],"categories":["Recently Updated","Third Party Components"],"sub_categories":["[Dec 25, 2024](/content/2024/12/25/README.md)","Drag and Drop"],"readme":"# ng-keyboard-sort\n\n[![CI](https://github.com/johnhwhite/ng-keyboard-sort/actions/workflows/ci.yml/badge.svg)](https://github.com/johnhwhite/ng-keyboard-sort/actions/workflows/ci.yml)\n[![npm](https://img.shields.io/npm/v/ng-keyboard-sort/latest?label=ng-keyboard-sort)](https://www.npmjs.com/package/ng-keyboard-sort)\n[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)\n[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz_small.svg)](https://stackblitz.com/fork/github/johnhwhite/ng-keyboard-sort?file=apps%2Fe2e%2Fsrc%2Fapp%2Fexample%2Fexample.component.html)\n\nLibrary to add keyboard commands for elements that also use CDK drag and drop sorting. This library intends to provide parity for picking up an element with the keyboard, moving it up and down the list, and dropping it in place.\n\n## Directives\n\n### kbdSortList\n\n#### Model: kbdSortListData\n\nThe array of items to sort, updated as items are moved.\n\n#### Input: kbdSortListOrientation\n\nEither `horizontal` or `vertical`.\n\n#### Input: kbdSortListDisabled\n\nWhether the list is disabled.\n\n### kbdSortItem\n\n### kbdSortHandle\n\nFocusable element that is used to grab the item.\n\n## Commands\n\nThis directive will listen for the following keyboard commands:\n\n### Space / Enter\n\nSelect the item to begin moving it, or if already selected, move it to the new position.\n\n### Escape\n\nDeselect the item.\n\n### Arrow Keys\n\nMove the selected item up or down (vertical) or left or right (horizontal).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnhwhite%2Fng-keyboard-sort","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohnhwhite%2Fng-keyboard-sort","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnhwhite%2Fng-keyboard-sort/lists"}