
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
ember-simple-infinite-scroller
Advanced tools
This Ember addon provides a simple component that fires an action whenever it is scrolled to the bottom. Allowing you to load more data. It is not coupled to Ember-Data like some other infinite scrolling implementations.
ember install ember-simple-infinite-scroller
{{#infinite-scroller on-load-more=(action 'loadMore') as |scroller|}}
{{#each things as |thing|}}
...
{{/each}}
{{if scroller.isLoading 'Please wait...'}}
{{/infinite-scroller}}
Attribute | Description | Default |
---|---|---|
on-load-more | Action to perform when the bottom is scrolled to | |
use-document | Goes off document scroll rather than the element's scroll position | false |
trigger-at | A percentage of the scrollable height to consider as the 'bottom' | "100%" |
scroll-debounce | Milliseconds delay used to check if the bottom has been scrolled to | 100 ms |
Either make your component scrollable:
.my-element {
max-height: 300px;
overflow: auto;
}
OR
Set use-document=true
if your component is not scrollable.
{{#infinite-scroller use-document=true}}
{{! action will fire when the document is scrolled to the bottom }}
{{/infinite-scroller}}
The component will yield a hash that provides:
Property | Description |
---|---|
isLoading | True when the promise for more data has not resolved yet |
error | The caught error from the last attempt to load more |
loadMore | Action for manually loading more |
Please read: https://github.com/TryGhost/Ghost/issues/7934
1.0.6
getAttr
FAQs
Simple infinite scroller component for Ember apps
The npm package ember-simple-infinite-scroller receives a total of 600 weekly downloads. As such, ember-simple-infinite-scroller popularity was classified as not popular.
We found that ember-simple-infinite-scroller demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
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.