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