0.0.4 • Published 7 years ago

ngx-delete-confirm v0.0.4

Weekly downloads
6
License
MIT
Repository
github
Last release
7 years ago

ngx delete confirm

Build Status codecov npm version devDependency Status GitHub issues GitHub stars GitHub license

Demo

Table of contents

About

Installation

Install through npm:

npm install --save ngx-delete-confirm

Then include in your apps module:

import { Component, NgModule } from '@angular/core';
import { ngxDeleteConfirmModule } from 'ngx-delete-confirm';

@NgModule({
  imports: [
    ngxDeleteConfirmModule.forRoot()
  ]
})
export class MyModule {}

Finally use in one of your apps components:

import { Component } from '@angular/core';

@Component({
  template: '<delete-confirm></delete-confirm>'
})
export class MyComponent {}

You may also find it useful to view the demo source.

Usage without a module bundler

<script src="node_modules/ngx-delete-confirm/bundles/ngx-delete-confirm.umd.js"></script>
<script>
    // everything is exported ngxDeleteConfirm namespace
</script>

Documentation

All documentation is auto-generated from the source via compodoc and can be viewed here: https://sijpesteijn.github.io/ngx-delete-confirm/docs/

License

MIT