{"id":23527113,"url":"https://github.com/bradleftley/ember-scroll-spy","last_synced_at":"2025-04-22T14:25:38.162Z","repository":{"id":40273896,"uuid":"257719348","full_name":"BradLeftley/ember-scroll-spy","owner":"BradLeftley","description":"Scroll spy for Ember.js ","archived":false,"fork":false,"pushed_at":"2022-12-12T17:45:41.000Z","size":4795,"stargazers_count":5,"open_issues_count":23,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-19T06:52:11.019Z","etag":null,"topics":["ember","ember-scroll-spy","viewport"],"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/BradLeftley.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-04-21T21:25:01.000Z","updated_at":"2024-06-29T22:41:53.000Z","dependencies_parsed_at":"2023-01-27T23:00:34.072Z","dependency_job_id":null,"html_url":"https://github.com/BradLeftley/ember-scroll-spy","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BradLeftley%2Fember-scroll-spy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BradLeftley%2Fember-scroll-spy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BradLeftley%2Fember-scroll-spy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BradLeftley%2Fember-scroll-spy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BradLeftley","download_url":"https://codeload.github.com/BradLeftley/ember-scroll-spy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250257304,"owners_count":21400695,"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-scroll-spy","viewport"],"created_at":"2024-12-25T20:12:02.386Z","updated_at":"2025-04-22T14:25:38.144Z","avatar_url":"https://github.com/BradLeftley.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"ember-scroll-spy\n==============================================================================\n\nEmber scroll spy allows you to easily replicate bootstrap's scroll spy functionality. Based on the anchor being in the viewport the scroll-container with the corresponding Id will be updated with an active class.\n\nSimply pass through the the id to each component and the addon does the rest.\n\nCompatibility\n------------------------------------------------------------------------------\n\n* Ember.js v3.16 or above\n* Ember CLI v2.13 or above\n* Node.js v10 or above\n\n\nInstallation\n------------------------------------------------------------------------------\n\n```\nember install ember-scroll-spy\n```\n\n\nUsage\n------------------------------------------------------------------------------\n\nIn this current version `0.0.6` you have two components an `scroll-container` and an `anchor`. \n```\n\u003cScrollContainer @linkId=\"about\"\u003e\n  \u003ca class=\"nav-link js-scroll-trigger\" href=\"#about\"\u003e\n     About\n  \u003c/a\u003e\n\u003c/ScrollContainer\u003e\n```\nThe id `about` will now be tracked and if it is found in the viewport the corresponding `scroll-container` with the same `id` it will be given an active class in which you can style from.\n\n```\n\u003csection class=\"resume-section p-3 p-lg-5 d-flex flex-column\" id=\"about\"\u003e\n  \u003cAnchor @id=\"about\" /\u003e\n    \u003cdiv\u003e\n     \u003cp\u003eSome content\u003c/p\u003e\n    \u003c/div\u003e\n\u003csection\u003e\n```\nSimply embed the `anchor` into your section, divs or any template and begin adding scroll spy to your apps. \n\n\nContributing\n------------------------------------------------------------------------------\n\nSee the [Contributing](CONTRIBUTING.md) guide for details.\n\n\nLicense\n------------------------------------------------------------------------------\n\nThis project is licensed under the [MIT License](LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbradleftley%2Fember-scroll-spy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbradleftley%2Fember-scroll-spy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbradleftley%2Fember-scroll-spy/lists"}