16.0.0 • Published 7 months ago

slider-label v16.0.0

Weekly downloads
-
License
-
Repository
github
Last release
7 months ago

SliderLabel

Note that this library is for Angular

When you have a text that doesn't fit to your label, You can use this directive.

Demo

https://stackblitz.com/edit/angular-ivy-dbhlko?file=src/app/app.component.html

Installation

Install slider-label with npm

  cd my-project
  npm i slider-label

Usage/Examples

import { BrowserAnimationsModule } from "@angular/platform-browser/animations";
import { SliderLabelModule } from "slider-label";

@NgModule({
  imports: [BrowserAnimationsModule, SliderLabelModule],
})
export class AppModule {}

Then in your component.html

<div ngxSliderLabel>your text that doesn't fit in this div</div>

API Reference

Inputs

ParameterTypeDescription
dirInputrtl or ltr
speedInputThe sliding speed; the unit is pixel per soconds
comeBackTimeInputreturn to normal time
classNameInputcss class name
15.0.0

7 months ago

14.0.0

7 months ago

16.0.0

7 months ago

2.1.1

3 years ago

2.1.0

3 years ago

2.0.2

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

0.0.1

3 years ago