Skip to content
This repository has been archived by the owner on Apr 26, 2022. It is now read-only.

JamesGuthrie/angular-schema-form-range-slider

Repository files navigation

Signature addon

This addon renders an angular-slider slider in a form field.

Installation

The easiest way is to install is with bower, this will also include dependencies:

bower install angular-schema-form-range-slider

Further you will have to add a dependency on rzModule in your angular application:

angular.module('myApp', [
  ...,
  'rzModule'
]);

Usage

The range-slider add-on adds a new form type, range.

Form Type Becomes
range a range-slider widget

Options

Options can be passed directly through to the angular-slider through the 'options' attribute of the form field declaration. The available options are listed here.

Examples

Here's an example:

{
  key: 'range',
  type: 'range',
  options: {
    floor: 0,
    ceil: 12,
    ...
  }
}

Development

Install dev dependencies:

npm install

Install project dependencies:

bower install

Run gulp to generate output:

gulp

About

A range slider for angular-schema-form

Resources

License

Stars

Watchers

Forks

Packages

No packages published