A Multi-Range Slider Component Using Angular | NpnSlider

NPNSLIDER is a reusable range slider component using angular v6.0. It can be used either as a multi-range or a single range slider.

angular multi range slider, ngx slider, angular material multi range slider, custom range slider angular, angular material range slider, price range slider angular 9

Creative Concentric Circular Range Slider With JavaScript

How to make use of it:

Installation

npm install --save npn-slider
or
yarn add npn-slider

Usage

<npn-slider [min]="2006" [max]="2020" (onChange)="onSliderChange($event)"></npn-slider>

Attributes

AttributesDescription
@Input()
min: number
The minimum value of the slider
@Input()
max: number
The maximum value of the slider
@Input()
step: number
The value at which the slider value should change
@Input()
showStepIndicator: boolean
Whether the step indicator should display or not
@Input()
minSelected: number
The selected value for the slider’s left handler
@Input()
maxSelected: number
The selected value for the slider’s right handler
@Input()
disabled: string
To disable the slider. Valid values: ‘true’ or ‘disabled’ or empty attribute
@Input()
multiRange: boolean
To switch between Multi range and Single range mode. Slider is multi-range by default
@Input()
hide-tooltip: boolean
To hide the tooltip that shows on the hover of the slider handler. Default value: ‘false’
@Input()
hide-values: boolean
To hide values displayed at bottom of slider. Default value: ‘false’
@Output()
onChange: EventEmitter<number[]>()
The event will be fired on a change of a selected range of values.
Returns: Selected range of values as an array[],
On Single range mode, a number array with a single value will be returned

Multi Range Slider Component For Angular, NpnSlider Plugin/Github, ngx mat range slider example


See Demo And Download

Official Website(npnm): Click Here

This superior jQuery/javascript plugin is developed by npnm. For extra advanced usage, please go to the official website.

Related Posts

Input-Values-Using-Mouse-Drag

Create Side Sliders Input Values Using Mouse Drag | Pointer Lock

HTML Range Slider is a lightweight library to create side sliders to adjust values easily and precisely by making use of the Pointer Lock API. Side Slider…

simple-parallax-scrolling-js

Smooth and Lightweight Parallax Scroll Library in Pure Javascript

Lightweight and seamless parallax scrolling library implemented in pure javascript using hardware acceleration for additional performance. Main Features Extremely lightweight with no dependencies A few kilobytes of pure…

Convert-Form-Data-to-JSON

How to Convert Form Data to JSON with HTML Forms | FormsJS

FormsJS is a simple-to-use JavaScript library that covers type subject values to JSON in real time. The items containing the data category will be analyzed automatically. It…

editable-html-table-using-javascript

A Small jQuery Extension to Convert An Editable HTML Table

Editable Table is a small jQuery extension to convert an editable HTML table for fast data entry and validation. A small jQuery extension to convert a static…

jquery.youtube-background

Simple jQuery Plugin for Embedding YouTube Videos As Cover Background

jquery.youtube-background is a jQuery plugin built to facilitate YouTube embeds as cover wallpaper using the YouTube Embed API. There is another jQuery Youtube Video Background plugin that…

Data-Table-Generator-Tabulator

Interactive Data Table Generator with JS/jQuery and JSON | Tabulator

Tabulator allows you to create interactive tables in seconds from any HTML Table, JavaScript array, AJAX data source, or JSON format data. Just include the library in your…