ngx-slide-to-confirm
TypeScript icon, indicating that this package has built-in type declarations

1.0.3-0 • Public • Published

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" (confirm)="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.

Package Sidebar

Install

npm i ngx-slide-to-confirm

Weekly Downloads

7

Version

1.0.3-0

License

MIT

Unpacked Size

64.7 kB

Total Files

16

Last publish

Collaborators

  • rinturaj18