摘要:
child works! 父组件投影 child works! 页头 页脚 import { Component } from '@angular/core'; @Component({ selector: 'app-root', templateUrl: './app.component.html', styleU... 阅读全文
posted @ 2018-04-25 11:27
chester·chen
阅读(255)
评论(0)
推荐(0)
摘要:
import { Component, OnInit, ViewChild } from '@angular/core'; @Component({ selector: 'app-child', templateUrl: './child.component.html', styleUrls: ['./child.component.css'] }) export class Ch... 阅读全文
posted @ 2018-04-25 11:10
chester·chen
阅读(223)
评论(0)
推荐(0)
摘要:
import { Component, OnInit, Input, OnChanges, SimpleChanges, DoCheck } from '@angular/core'; @Component({ selector: 'app-child', templateUrl: './child.component.html', styleUrls: ['./child.com... 阅读全文
posted @ 2018-04-25 10:41
chester·chen
阅读(258)
评论(0)
推荐(0)
摘要:
import { Component, OnInit, Input, OnChanges, SimpleChanges } from '@angular/core'; @Component({ selector: 'app-child', templateUrl: './child.component.html', styleUrls: ['./child.component.cs... 阅读全文
posted @ 2018-04-25 10:17
chester·chen
阅读(1102)
评论(0)
推荐(0)
浙公网安备 33010602011771号