npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

bzm-range-slider

v0.0.3

Published

====================================

Readme

#RangeSlider for Angular & Foundation5

RangeSlider for Angular & Foundation5. The only real dependency outside of Angular is Foundation RangeSlider CSS

  • It should work correctly in Firefox, Chrome, Safari with mouse, keyboard and touchscreen. It does not work on old version of IE.

####Project:

  • demo: http://breizhme.net/rangeslider/demo/
  • home: https://github.com/fulup-bzh/RangeSlider

This RangeSlider is Angular ported version of Foundation's Range Slider

##Installation

  1. Install with bower:

    bower install bzm-range-slider --save
  2. Add the JS and CSS files to your HTML:

    <link href="bower_components/bzm-range-slider/dist/bzm-range-slider.css" rel="stylesheet">
    ...
    <script src="bower_components/bzm-range-slider/dist/bzm-range-slider.min.js"></script>
  3. Include the module name 'bzm-range-slider' in your angular app. For example:

 angular.module('app', ['bzm-range-slider']);

Note: when moving to Node v4.x remove existing node_modules directory and run npm install or you will get Error: libsass bindings not found. Try reinstalling node-sass?

##Usage <range-slider>

   <range-slider
      id="my-slider-name"                     // only use as an argument to callback
      class="my-custom-class"                 // default class is bzm-range-slider
      placeholder="Track Date Selection"      // place holder for date readonly input zone

      <!-- Foundation classes -->
      class="radius"                          // check Zurn foundation doc for further info.
      class="bzm-handle-display"              // increase handle width to hold slider current value

      <!-- Angular Scope Variables -->
      callback="myCallBack"                    // $scope.myCallBack(sliderhandle) is called when ever slider handle blur
      formatter="SliderFormatCB"               // $scope.myFormatter(value, sliderid) when exist is call when ever slider handle moves. Should return external form of slider value.
      ng-model="xxxxxx"                        // xxxxxx Must be defined, script will store a new RangerObject within provided ng-model variable.
      start-at="ScopeVar"                      // Dynamic limitation when slider is constrains by an external componant [ex: check in/out]
      stop-at="ScopeVar"                       // Idem but for end.

      <!-- Angular Directive Attributes -->
      not-less="integer"                       // Fixed starting value for slider [default 0]
      not-more="integer"                       // Fixed end value for sliders [default 100]
      by-step="+-integer"                      // If by-step is >0 then slider use it as step-value, when negative use it for decimal precision
      display-target="handle"                  // display slider external formated value in the handle [requirer calss="bzm-handle-display"]
      dual-handles='true'                      // add a second handle to slider for min/max range
      initial='value|[start/stop]'             // slider initial value [dual-handles] may have initial values

   /></range-slider>


   within JS app ng-model=xxxx is a RangerObject.

    xxxx.getValue(0|1)    return current value of RangeSlider for chosen handle [default is handle:0]
    xxxx.getView(0|1)     equivalement to getValue but for external representation of handle value after formatter callback
    xxxx.setValue(0|1)    set the value for a chosen handle
    xxxx.getRelative(0|1) return relative position of chosen handle