
Product
Rust Support Now in Beta
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
ember-scrollable
Advanced tools
A simple scrollbar implementation inspired by Trackpad Scroll Emulator.
ember install ember-scrollable
{{! app/templates/index.hbs }}
{{#ember-scrollable}}
Some long content...
{{/ember-scrollable}}
The component accepts the following options:
horizontal
: Enables horizontal scrolling (default: false
)vertical
: Enables vertical scrolling (default: true
if horizontal is unset)autoHide
: Enables auto hiding of the scrollbars on mouse out (default: true
)scrollTo
: Set this property to manually scroll to a certain position (if in single bar mode)scrollToX
: Set this property to manually scroll to a certain position in the horizontal directionscrollToY
: Set this property to manually scroll to a certain position in the vertical directiononScroll(scrollOffset, event)
: action triggered whenever the user scrolls, called with the current scrollOffset
and the original scroll event
onScrolledToBottom
: action triggered when user scrolled to the bottom{{#ember-scrollable horizontal=true vertical=true}}
content that is wide and long.
{{/ember-scrollable}}
git clone https://github.com/alphasights/ember-scrollable.git
npm install && bower install
ember server
npm run lint:js
npm run lint:js -- --fix
ember test
– Runs the test suite on the current Ember versionember test --server
– Runs the test suite in "watch mode"ember try:each
– Runs the test suite against multiple Ember versionsember serve
For more information on using ember-cli, visit https://ember-cli.com/.
This project is licensed under the MIT License.
FAQs
OSX-like scrollbar components in ember
The npm package ember-scrollable receives a total of 2,393 weekly downloads. As such, ember-scrollable popularity was classified as popular.
We found that ember-scrollable demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 8 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.