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.
rm-ng-range-slider
Advanced tools
A highly optimized and fully customizable pure angular component for value range selection.
Advanced, customizable, Optimized ,Minimal, light-weight and fully customizable pure angular component for value range selection.
A highly optimized and fully customizable pure angular component for value range selection.
The component is not re-rendered while user moves the thumb. Even if there is a label, only the label component is re-rendered when values are changed.
RangeSlider uses angular Native's Animated library to transform thumbs / label / selected rail. These optimizations help to achieve as much native look & feel as possible using only the JS layer.
Install rm-ng-range-slider with npm amd yarn
npm: npm install rm-ng-range-slider --save
yarn: yarn add rm-ng-range-slider
Dual Range Slider uses angular hooks, so this component doesn't work with angular below below version 2. In your component where you want to use the Device Service
import {RmNgRangeSliderComponent} from "rm-ng-range-slider";
@Component({
selector: 'app-root',
standalone: true,
imports: [RmNgRangeSliderComponent],
templateUrl: './app.component.html',
styleUrl: './app.component.scss'
})
export class AppComponent {
handleRangeChanged(event: { low: number, high: number }) {
console.log('Range changed:', event);
}
}
<rm-ng-range-slider
[min]="0"
[max]="100"
[leftColor]="'#3498db'"
[rightColor]="'#e74c3c'"
[leftTooltipColor]="'#333'"
[rightTooltipColor]="'#e74c3c'"
(rangeChanged)="handleRangeChanged($event)"
></rm-ng-range-slider>
Slider | Ng |
---|---|
1.0.0 | 18.x |
Name | Description | Type | Default Value |
---|---|---|---|
min | Minimum value of slider | number | Initially min value will be set 0 if not provided |
max | Maximum value of slider | number | Initially max value will be set 100 if not provided |
leftTooltipColor | set color for left tooltip | string | Initially set default color for tool tip is #333 |
rightTooltipColor | set color for right tooltip | string | Initially set default color for tool tip is #e74c3c |
leftColor | Set color for left side slider line | string | Initially set default color for tool is #3498db |
rightColor | Set color for right side slider line | string | Initially set default color for tool is #e74c3c |
rangeChanged | Emit both value object of min and max | object | It do not return any value until changes |
If you identify any errors in this component, or have an idea for an improvement, please open an issue. I am excited to see what the community thinks of this project, and I would love your input!
Are you interested in this library but lacks features? Write to the author, he can do it for you.
Rajat Malik
FAQs
A highly optimized and fully customizable pure angular component for value range selection.
The npm package rm-ng-range-slider receives a total of 3 weekly downloads. As such, rm-ng-range-slider popularity was classified as not popular.
We found that rm-ng-range-slider demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
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.