ngx click to edit
演示
目录
- 关于
- 安装
- 文档
- 发展
- 执照
关于
安装
通过NPM安装:
npm install --save ngx-click-to-edit
然后在您的应用模块中包含:
import { Component , NgModule } from \'@angular/core\' ; import { NgxClickToEditModule } from \'ngx-click-to-edit\' ; @ NgModule ( { imports : [ NgxClickToEditModule . forRoot ( ) ] } ) export class MyModule { }
最终在您的一个应用程序组件中使用:
import { Component } from \'@angular/core\' ; @ Component ( { template : \'<click-to-edit></click-to-edit>\' } ) export class MyComponent { }
您可能还会发现查看演示源很有用。
没有模块捆绑的使用
<script src=\"node_modules/ngx-click-to-edit/bundles/ngx-click-to-edit.umd.js\"></script>
<script>
// everything is exported ngxClickToEdit namespace
</script>
文档
所有文档都是通过Compococ从源自动生成的,可以在此处查看:https://sijpesteijn.github.io/ngx-click-click-to-eedit/docs/
执照
麻省理工学院
