{"id":15929526,"url":"https://github.com/bekzod/ember-active-scroll-list","last_synced_at":"2026-05-02T05:04:22.478Z","repository":{"id":57222953,"uuid":"48501634","full_name":"bekzod/ember-active-scroll-list","owner":"bekzod","description":"Ember Addon","archived":false,"fork":false,"pushed_at":"2017-06-04T11:15:34.000Z","size":18,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-09T08:45:01.958Z","etag":null,"topics":["ember","ember-addon"],"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/bekzod.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-12-23T17:01:28.000Z","updated_at":"2017-05-10T14:24:50.000Z","dependencies_parsed_at":"2022-08-29T02:31:25.908Z","dependency_job_id":null,"html_url":"https://github.com/bekzod/ember-active-scroll-list","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/bekzod/ember-active-scroll-list","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bekzod%2Fember-active-scroll-list","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bekzod%2Fember-active-scroll-list/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bekzod%2Fember-active-scroll-list/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bekzod%2Fember-active-scroll-list/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bekzod","download_url":"https://codeload.github.com/bekzod/ember-active-scroll-list/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bekzod%2Fember-active-scroll-list/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263331776,"owners_count":23450156,"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":["ember","ember-addon"],"created_at":"2024-10-07T00:04:26.942Z","updated_at":"2026-05-02T05:04:17.458Z","avatar_url":"https://github.com/bekzod.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ember-active-scroll-list\nEmber Addon helps to keep active item of list visible in viewport\n\n### [DEMO](http://ember-active-scroll-list.surge.sh)\n\n## Usage\n\n```hbs\n{{#active-scroll-list tolerance=0 scrollTimeout=2000 activeIndex=activeIndex class='list'}}\n  {{#each items as |item index|}}\n    \u003cdiv class=\"item {{if (eq index activeIndex) 'active'}}\"\u003e{{item}}\u003c/div\u003e\n  {{/each}}\n{{/active-scroll-list}}\n```\ncan be also be extended as mixin\n```javascript \nimport Ember from 'ember';\nimport ActiveScrollListMixin from 'ember-active-scroll-list';\n\nexport default Ember.Component.extend(ActiveScrollListMixin, {\n  ...\n});\n```\n\n## Options\n  * `activeIndex`\n  Index of element which needs to be visible on the list\n\n  * `tolerance`\n    How much `top` and `bottom` edges should be offset when determining overflow\n\n  * `scrollTimeout`\n    Timeout for when autoscroll is activated\n\n## Installation\nYou can install either with `ember install`:\n\n```shell\n  ember install ember-active-scroll-list\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbekzod%2Fember-active-scroll-list","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbekzod%2Fember-active-scroll-list","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbekzod%2Fember-active-scroll-list/lists"}