Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
ember-ic-you
Advanced tools
ember-ic-you is a simple scroll listener that sends an action when the element is in view.
See a demo here: http://vestorly.github.io/ember-ic-you
Via ember install
ember install ember-ic-you
Via NPM
git clone http://vestorly.github.io/ember-ic-you
cd ember-ic-you
npm install
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"npm test
– Runs ember try:each
to test your addon against multiple Ember versionsAt a basic level, you can use the listener in any template.
// template.hbs
{{ember-ic-you}}
// containing component or route (or controller)
actions: {
crossedTheLine(above) {
// do lots of cool stuff
}
}
ember-ic-you is customizable!
crossedTheLine
- action that is sent when the line is crossed
'crossedTheLine'
enabled
- whether the listeners should be enabled
true
triggerDistance
- the distance from the bottom at which crossedTheLine
fires
0
scrollContainer
- selector for the container that will be scrolled
null
(will select window
)scrolledContent
- (optional) selector for the content that will be scrolled if the scrollContainer
is NOT window
null
ember serve
FAQs
A simple scroll listener for Ember applications
The npm package ember-ic-you receives a total of 11 weekly downloads. As such, ember-ic-you popularity was classified as not popular.
We found that ember-ic-you demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.