2.1.1 • Published 2 years ago

slider-label v2.1.1

Weekly downloads
-
License
-
Repository
github
Last release
2 years 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

Version

For Angular version 14 use version 2 of this library

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
2.1.1

2 years ago

2.1.0

2 years ago

2.0.2

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

0.0.1

2 years ago