上一页 1 ··· 31 32 33 34 35 36 37 38 39 ··· 42 下一页
摘要: 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 阅读(248) 评论(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 阅读(206) 评论(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 阅读(246) 评论(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 阅读(1071) 评论(0) 推荐(0) 编辑
摘要: import { Component, OnInit, EventEmitter, Output } from '@angular/core'; @Component({ selector: 'app-order-change', templateUrl: './order-change.component.html', styleUrls: ['./order-change.co... 阅读全文
posted @ 2018-04-24 17:59 chester·chen 阅读(139) 评论(0) 推荐(0) 编辑
摘要: import { Component, OnInit, EventEmitter, Output } from '@angular/core'; @Component({ selector: 'app-order-change', templateUrl: './order-change.component.html', styleUrls: ['./order-change.co... 阅读全文
posted @ 2018-04-24 17:32 chester·chen 阅读(117) 评论(0) 推荐(0) 编辑
摘要: import { Component, OnInit, Input } from '@angular/core'; @Component({ selector: 'app-order', templateUrl: './order.component.html', styleUrls: ['./order.component.css'] }) export class OrderC... 阅读全文
posted @ 2018-04-24 15:01 chester·chen 阅读(145) 评论(0) 推荐(0) 编辑
摘要: import { Pipe, PipeTransform } from '@angular/core'; @Pipe({ name: 'multi' }) export class MultiPipe implements PipeTransform { transform(value: any, args?: any): any { if (args == null) { ... 阅读全文
posted @ 2018-04-23 19:43 chester·chen 阅读(716) 评论(0) 推荐(0) 编辑
摘要: {{name}} import { Component, OnInit } from '@angular/core'; @Component({ selector: 'app-bind', templateUrl: './bind.component.html', styleUrls: ['./bind.component.css'] }) export class Bind... 阅读全文
posted @ 2018-04-23 17:21 chester·chen 阅读(92) 评论(0) 推荐(0) 编辑
摘要: 点我 你好 你好 你好 你好 你好 import { Component, OnInit } from '@angular/core'; @Component({ selector: 'app-bind', templateUrl: './bi... 阅读全文
posted @ 2018-04-23 17:10 chester·chen 阅读(177) 评论(0) 推荐(0) 编辑
上一页 1 ··· 31 32 33 34 35 36 37 38 39 ··· 42 下一页