Gathering detailed insights and metrics for ngx-slider-2023
Gathering detailed insights and metrics for ngx-slider-2023
Gathering detailed insights and metrics for ngx-slider-2023
Gathering detailed insights and metrics for ngx-slider-2023
@angular-slider/ngx-slider
Self-contained, mobile friendly slider component for Angular based on angularjs-slider
angularjs-slider
AngularJS slider directive with no external dependencies. Mobile friendly!.
@types/react-slider
TypeScript definitions for react-slider
ngx-color
A Collection of Color Pickers from Sketch, Photoshop, Chrome & more
npm install ngx-slider-2023
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
390 Stars
450 Commits
175 Forks
9 Watching
13 Branches
17 Contributors
Updated on 26 Nov 2024
TypeScript (86.71%)
HTML (6.74%)
SCSS (3.24%)
JavaScript (3.11%)
Shell (0.21%)
Cumulative downloads
Total Downloads
Last day
-75%
2
Compared to previous day
Last week
91.7%
46
Compared to previous week
Last month
38.7%
172
Compared to previous month
Last year
932.5%
2,127
Compared to previous year
3
3
Website: https://angular-slider.github.io/ngx-slider/
Discord: https://discord.gg/DHsDghZRwZ
Self-contained, mobile friendly slider component for Angular based on angularjs-slider.
NOTE: The future of this project depends on willing volunteers. If you are able to help, please get in touch with the maintainers of this project on dedicated Discord server.
ngx-slider | Angular | RxJS | Actively supported |
---|---|---|---|
2.0.x | 6.x - 12.x | 6.x | No |
13.x | 13.x | 6.x | No |
14.x | 14.x | 6.x | No |
15.x | 15.x | 7.x | No |
16.x | 16.x | 7.x | Yes |
17.x | 17.x | 7.x | Yes |
18.x | 18.x | 7.x | Yes |
Note: Like with Angular only the latest 3 versions are actively supported.
Single slider - StackBlitz
Range slider - StackBlitz
Slider with ticks - StackBlitz
Customised slider - StackBlitz
Slider with custom style - StackBlitz
Vertical slider - StackBlitz
To add the slider to your Angular project:
npm install --save @angular-slider/ngx-slider
Once installed, add the slider to your app.module.ts
:
1import { NgxSliderModule } from '@angular-slider/ngx-slider'; 2 3... 4 5@NgModule({ 6 ... 7 imports: [ 8 ... 9 NgxSliderModule, 10 ... 11 ], 12 ... 13}) 14export class AppModule {}
Now you can use the slider component in your app components, for example in app.component.ts
:
1import { Options } from '@angular-slider/ngx-slider'; 2... 3 4@Component({...}) 5export class AppComponent { 6 value: number = 100; 7 options: Options = { 8 floor: 0, 9 ceil: 200 10 }; 11}
And in template file app.component.html
:
1<ngx-slider [(value)]="value" [options]="options"></ngx-slider>
Full API documentation is available on official website.
An overview of how to apply your own style to the slider is described in STYLING.md.
As of v1.2.0 the slider features CSS animations of slider movement. If you prefer the previous behaviour, without animations, you can set the flag animate: false
in your slider options.
In addition to mouse/touch events, the slider can also be controlled through keyboard. The available shortcuts are:
The slider allows for customising how to implement tooltips. See TOOLTIPS.md for more information.
Before reporting a new bug, please look at KNOWN_ISSUES.md for a list of known problems and their workarounds. New bugs reports for these problems will not be accepted.
You can report any bugs as Github issues.
Please describe the issue in detail pasting any relevant code, or preferrably a StackBlitz with reproduction of the problem by forking and editing this sample StackBlitz. Please also provide the version of NPM package you are using.
For list of changes and bugfixes, see CHANGELOG.md.
If you would like to contribute to the project, see DEVELOPERS.md.
The project is licensed under the MIT license.
For instructions on upgrading from previous (1.x) versions of the library, see UPGRADING.md.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 0/26 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
15 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-11-25
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More