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

results matching ""

    No results matching ""