1. 首页
  2. 移动开发
  3. 其他
  4. ng存根 源码

ng存根 源码

上传者: 2021-04-06 11:52:25上传 ZIP文件 56KB 热度 15次
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
下载地址
用户评论