ng存根 源码
ng存根 动态为Angular组件和指令创建存根。 安装 npm install --save-dev 用法示例 import { Component , OnInit , EventEmitter , Input , Output } from '@angular/core' ; @ Component ( { selector : 'app-greeter' , template : '<button (click)="onClick()">Say Hi</button>' , styleUrls : [ './greeter.component.css' ] } ) export class GreeterComponent { @ Input ( ) name : string ; @ Output ( ) greet = new EventEmitt
文件列表
ng-stubs-master.zip
(预估有个19文件)
ng-stubs-master
.travis.yml
83B
package.json
1KB
test
directives.spec.ts
2KB
components.spec.ts
10KB
setup.js
729B
preprocessor.js
186B
package-lock.json
223KB
src
暂无评论