2.1.10 • Published 6 years ago

range-bar-app v2.1.10

Weekly downloads
14
License
MIT
Repository
-
Last release
6 years ago

ng-range-bar

This project was generated with Angular CLI

Features

ng-range-bar is simply a range bar/seekbar with material style it accepts:

  • Minimum Value.
  • Maximum Value.

Outputs:

  • onSelect selected value of the user.

Installation

npm i range-bar-app

Add it to your Angular Module.

import { NgRangeBarModule } from 'ng2-input-rangebar';

@NgModule({
  imports: [
    NgRangeBarModule
  ]
})
export class AppModule { }

Usage

Template - somecomponent.component.html
<ng-range-bar  [maxValue]=1080 //maximum value for the range bar
[minValue]=1  //minimum value for the range bar
[barColor]="'red'" //anycolor you can specify
(onSelect)="selectedObject($event)"></ng-range-bar>
somecomponent.component.ts
export class SomeComponent {

  selectedObject(obj){
    console.log(obj);
  }
}
2.1.10

6 years ago

2.1.9

6 years ago

2.1.8

6 years ago

0.0.0

6 years ago

2.1.7

6 years ago

2.1.5

6 years ago

2.1.4

6 years ago

2.1.2

6 years ago

2.0.0

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.0

6 years ago