ngx-click-to-edit

[![Build Status](https://travis-ci.org/sijpesteijn/ngx-click-to-edit.svg?branch=master)](https://travis-ci.org/sijpesteijn/ngx-click-to-edit) [![codecov](https://codecov.io/gh/sijpesteijn/ngx-click-to-edit/branch/master/graph/badge.svg)](https://codecov.i


Keywords
angular2, angular, delete, confirm, angular4, click, edit, input
License
MIT
Install
npm install ngx-click-to-edit@0.0.7

Documentation

ngx click to edit

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-click-to-edit

Then include in your apps module:

import { Component, NgModule } from '@angular/core';
import { NgxClickToEditModule } from 'ngx-click-to-edit';

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

Finally use in one of your apps components:

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

@Component({
  template: '<click-to-edit></click-to-edit>'
})
export class MyComponent {}

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

Usage without a module bundler

<script src="node_modules/ngx-click-to-edit/bundles/ngx-click-to-edit.umd.js"></script>
<script>
    // everything is exported ngxClickToEdit namespace
</script>

Documentation

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

License

MIT