{"id":18841617,"url":"https://github.com/alphasights/ember-scrollable","last_synced_at":"2025-05-08T21:11:08.509Z","repository":{"id":35253082,"uuid":"39512865","full_name":"alphasights/ember-scrollable","owner":"alphasights","description":"A simple Ember wrapper around Trackpad Scroll Emulator","archived":false,"fork":false,"pushed_at":"2023-07-18T20:37:38.000Z","size":4503,"stargazers_count":24,"open_issues_count":33,"forks_count":34,"subscribers_count":40,"default_branch":"master","last_synced_at":"2024-12-19T04:07:04.625Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/alphasights.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","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}},"created_at":"2015-07-22T15:06:44.000Z","updated_at":"2023-02-03T04:17:15.000Z","dependencies_parsed_at":"2024-06-18T16:50:22.008Z","dependency_job_id":"527423e9-b570-4056-9865-bc5216ac1df5","html_url":"https://github.com/alphasights/ember-scrollable","commit_stats":{"total_commits":188,"total_committers":31,"mean_commits":6.064516129032258,"dds":0.7074468085106382,"last_synced_commit":"86fb24a2f455f559f295fe26ae54943084c22266"},"previous_names":[],"tags_count":45,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alphasights%2Fember-scrollable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alphasights%2Fember-scrollable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alphasights%2Fember-scrollable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alphasights%2Fember-scrollable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alphasights","download_url":"https://codeload.github.com/alphasights/ember-scrollable/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231481049,"owners_count":18383151,"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-11-08T02:51:52.432Z","updated_at":"2024-12-27T12:08:01.070Z","avatar_url":"https://github.com/alphasights.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ember Scrollable\n[![Ember Version](https://embadge.io/v1/badge.svg?start=2.8.0-lts)](https://embadge.io/v1/badge.svg?start=2.8.0-lts)\n[![Npm Version](https://badge.fury.io/js/ember-scrollable.svg)](http://badge.fury.io/js/ember-scrollable)\n[![Code\nClimate](https://codeclimate.com/github/alphasights/ember-scrollable/badges/gpa.svg)](https://codeclimate.com/github/alphasights/ember-scrollable)\n[![Build Status](https://travis-ci.org/alphasights/ember-scrollable.svg?branch=master)](https://travis-ci.org/alphasights/ember-scrollable)\n\nA simple scrollbar implementation inspired by Trackpad Scroll Emulator.\n\n[Check out the demo](https://alphasights.github.io/ember-scrollable)\n\nInstallation\n------------------------------------------------------------------------------\n\n* `ember install ember-scrollable`\n\n## Basic Usage\n\n```htmlbars\n{{! app/templates/index.hbs }}\n\n{{#ember-scrollable}}\n  Some long content...\n{{/ember-scrollable}}\n```\n\n## Configuring the Component\n\nThe component accepts the following options:\n\n- `horizontal`: Enables horizontal scrolling (default: `false`)\n- `vertical`: Enables vertical scrolling (default: `true` if horizontal is unset)\n- `autoHide`: Enables auto hiding of the scrollbars on mouse out (default: `true`)\n- `scrollTo`: Set this property to manually scroll to a certain position (if in single bar mode)\n- `scrollToX`: Set this property to manually scroll to a certain position in the horizontal direction\n- `scrollToY`: Set this property to manually scroll to a certain position in the vertical direction\n- `onScroll(scrollOffset, event)`: action triggered whenever the user scrolls, called with the current `scrollOffset` and the original scroll `event`\n- `onScrolledToBottom`: action triggered when user scrolled to the bottom\n\n## Advanced Usage\n\n```htmlbars\n{{#ember-scrollable horizontal=true vertical=true}}\n  content that is wide and long.\n{{/ember-scrollable}}\n```\n\n## Developing\n\n### Setup\n\n* `git clone https://github.com/alphasights/ember-scrollable.git`\n* `npm install \u0026\u0026 bower install`\n\n### Running\n\n* `ember server`\n\n### Linting\n\n* `npm run lint:js`\n* `npm run lint:js -- --fix`\n\n### Running tests\n\n* `ember test` – Runs the test suite on the current Ember version\n* `ember test --server` – Runs the test suite in \"watch mode\"\n* `ember try:each` – Runs the test suite against multiple Ember versions\n\n### Running the dummy application\n\n* `ember serve`\n* Visit the dummy application at [http://localhost:4200](http://localhost:4200).\n\nFor more information on using ember-cli, visit [https://ember-cli.com/](https://ember-cli.com/).\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%2Falphasights%2Fember-scrollable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falphasights%2Fember-scrollable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falphasights%2Fember-scrollable/lists"}