
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
ng-scrolling
Advanced tools
https://MarcinMichalik.github.io/ng-scrollTo/
Simple scrollTo directive for Angular 2+. You can use it to scroll to element on your website.
Install through npm:
npm install --save ng-scrolling-to-el
@DarthFarzad pull request (not yet merged)
npm install --save ng-scrolling-to-el@next
Then include in your apps module:
import { Component, NgModule } from '@angular/core';
import { ScrollToModule } from 'ng-scrolling-to-el';
@NgModule({
imports: [
ScrollToModule.forRoot()
]
})
export class MyModule {}
scrollDuration and scrollOffset is optional parameters.
<button class="btn btn-primary" [scrollTo]="'#place1'" [scrollDuration]="1000" [scrollOffset]="-100">Place 1</button>
<button class="btn btn-primary" [scrollTo]="place2">Place 2</button>
<div id="place1"></div>
<div #place2></div>
You may also find it useful to view the demo source.
<div class="card mt-5" #top></div>
<button class="btn btn-primary" (click)="scrollToTop(top)">Top</button>
You may also find it useful to view the demo source.
import { ScrollToService } from 'ng-scrolling-to-el';
export class DemoComponent {
constructor(private scrollService: ScrollToService) {}
scrollToTop(element) {
this.scrollService.scrollTo(element);
}
}
You may also find it useful to view the demo source.
All documentation is auto-generated from the source via compodoc and can be viewed here: https://MarcinMichalik.github.io/ng-scrollTo/docs/
npm install
while current directory is this repoRun npm start
to start a development server on port 8000 with auto reload + tests.
Run npm test
to run tests once or npm run test:watch
to continually run tests.
npm run release
MIT
FAQs
Scroll to element library for agnualr 6+
The npm package ng-scrolling receives a total of 1 weekly downloads. As such, ng-scrolling popularity was classified as not popular.
We found that ng-scrolling 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.