Skip to content

Slide to confirm a good alternative to confirmation box.A customizable slider that will activate a callback when the user slides it to 100%.

License

Notifications You must be signed in to change notification settings

rinturaj/NgxSlideToConfirm

Repository files navigation

SlideToConfirm

Slide to confirm a good alternative to confirmation box.A customizable slider that will activate a callback when the user slides it to 100%.

SlideToConfirm

Installation

npm install ngx-slide-to-confirm --save

Usage

Import the module:

import {  SlideToConfirmModule } from 'ngx-slide-to-confirm';

@NgModule({
  
    imports: [ SlideToConfirmModule],

  
})
export class AppModule {
}
  <ngx-slide-to-confirm placeHolder="Slide to confirm" (confirmEvent)="onConfirm()"></ngx-slide-to-confirm>

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

Build

Run ng build SlideToConfirm to build the project. The build artifacts will be stored in the dist/ directory.

Publishing

After building your library with ng build SlideToConfirm, go to the dist folder cd dist/slide-to-confirm and run npm publish.

Running unit tests

Run ng test SlideToConfirm to execute the unit tests via Karma.

About

Slide to confirm a good alternative to confirmation box.A customizable slider that will activate a callback when the user slides it to 100%.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published