Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ng2-nouislider

Package Overview
Dependencies
Maintainers
2
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ng2-nouislider

Angular2 noUiSlider component

  • 1.8.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
28K
decreased by-4.04%
Maintainers
2
Weekly downloads
 
Created
Source

ng2-nouislider

Build Status npm version Downloads All Contributors

Angular2 nouislider component

See demos

Install

npm i --save nouislider ng2-nouislider

Import

import { NouisliderModule } from 'ng2-nouislider';

Styles

@import "~nouislider/distribute/nouislider.min.css";

SystemJS config

Add to map:

'nouislider': 'node_modules/nouislider',
'ng2-nouislider': 'node_modules/ng2-nouislider',

Add to packages:

'nouislider': { main: 'distribute/nouislider.js', defaultExtension: 'js' },
'ng2-nouislider': { main: 'src/nouislider.js', defaultExtension: 'js' },

Usage

Using ngModel

<nouislider [connect]="true" [min]="0" [max]="15" [(ngModel)]="someRange"></nouislider>

Within reactive forms

this.form1 = this.formBuilder.group({ 'single': [ 10 ] });
<form [formGroup]="form">
    <nouislider [min]="0" [max]="20" [step]="0.5" [formControl]="form.controls.single"></nouislider>
</form>

Nouislider documentation

This component is based on nouislider. Documentation about additional settings (passed in [config] @Input) can be found here.

Start development

npm i
npm start
open http://localhost:8080

Contributors

Thanks goes to these wonderful people (emoji key):


Tomasz Bak

💻 👀

Giacomo Mazzamuto

💻 👀

Ryan Morris

💻

Sven Flickinger

💻

Riku Kallio

💻

John Pinkster

💻

Oleg Romanovskyi

💻

ATeal

💻

Jérémy Leherpeur

💻

Matt Lewis

💻

anysite

📖

flmg

💻

SirWojtek

📖

Rubén Trujillo

💻

Olena Horal

💻 💡

Jeremy Fry

💻

Tadeusz

💻

Philippe Roy

💻

This project follows the all-contributors specification. Contributions of any kind are welcome!

License

MIT

Keywords

FAQs

Package last updated on 07 May 2019

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc