Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
@crexi-dev/ngx-slider
Advanced tools
A customizable slider component for Angular >= 9 based on [ng5-slider](https://github.com/angular-slider/ng5-slider).
A customizable slider component for Angular >= 9 based on ng5-slider.
If you are looking for Angular support with version < 9, please use the original package: ng5-slider
To add the slider to your Angular project:
npm install --save @crexi-dev/ngx-slider
Once installed, add the slider to your app.module.ts
:
import { NgxSliderModule } from '@crexi-dev/ngx-slider';
...
@NgModule({
...
imports: [
...
NgxSliderModule,
...
],
...
})
export class AppModule {}
Now you can use the slider component in your app components, for example in app.component.ts
:
import { Options } from '@crexi-dev/ngx-slider';
...
@Component({...})
export class AppComponent {
value: number = 100;
options: Options = {
floor: 0,
ceil: 200
};
}
And in template file app.component.html
:
<ngx-slider [(value)]="value" [options]="options"></ngx-slider>
An overview of how to apply your own style to the slider is described in STYLING.md.
The current verion of 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.
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.
If you would like to contribute to the project, see DEVELOPERS.md.
Due to lack of support of the original package (ng5-slider), it has been forked with the addition of Angular 9+ support. The intent of this package is to support newer versions of Angular (9+), if you are looking for support of Angular version < 9, please use ng5-slider.
MIT license.
FAQs
A customizable slider component for Angular >= 9 based on [ng5-slider](https://github.com/angular-slider/ng5-slider).
The npm package @crexi-dev/ngx-slider receives a total of 1 weekly downloads. As such, @crexi-dev/ngx-slider popularity was classified as not popular.
We found that @crexi-dev/ngx-slider demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 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
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.