Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
ngx-slides is a lightweight slideshow component for Anguar 4 applications and fully configurable.
ngx-slides
is a lightweight slideshow component for Anguar 4 applications and fully configurable.
npm install ngx-slides
NgxSlidesModule
into your app.module;import { NgxSlidesModule } from 'ngx-slides'
NgxSlidesModule
to the imports of your NgModule:@NgModule({
imports: [
...,
NgxSlidesModule
],
...
})
class YourModule { ... }
<ngx-slides></ngx-slides>
in your templates to add pagination in your view like below<ngx-slides [slideImages]="slides" [config]="config"></ngx-slides>
slideImages: any[]
- An array of objects that contains the image url and captions.config: {}
- Object with configurationn values for the slides with below format.slideImages = [
{
image: '/assets/images/image3.jpeg', //path to image
title: 'Image1' //caption for image
}
]
config = {
width:"800px", //width of slides defaults to 800px
height:"300px" //height of slides defaults to 300px
autoPlay:false //autoplay required or not defaults to false
delay: 3000 // delay for autoplay
}
Found a bug or an issue with this? Open a new issue here on GitHub.
Anyone and everyone is welcome to contribute. Please take a moment to review the guidelines for contributing.
FAQs
ngx-slides is a lightweight slideshow component for Anguar 4 applications and fully configurable.
The npm package ngx-slides receives a total of 3 weekly downloads. As such, ngx-slides popularity was classified as not popular.
We found that ngx-slides 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
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.