發表文章

目前顯示的是 3月 18, 2019的文章

The Pembroke Hill School

圖片
The Pembroke Hill School Location Kansas City , Missouri United States Information Type Independent Motto Freedom with Responsibility Established 1910 – Pembroke-Country Day (boys), 1913 – Sunset Hill (girls), 1984 – Pembroke Hill (coed) Head of School Dr. Steve Bellis Faculty 110 [1] Enrollment 1,200 [1] Average class size 105 students (upper school) [1] Student to teacher ratio 11:1 [1] Campus Urban, two campuses Color(s) Red & Blue Athletics 22 varsity, 15 junior varsity, numerous club [2] Athletics conference Missouri State High School Activities Association Mascot Raider (Viking) Website pembrokehill.org The Pembroke Hill School (usually referred to as Pembroke Hill ) is a secular, coeducational, independent preparatory school for about 1,200 students in early years (age 2 years) through 12th grade, separated into four sections: early years-prekindergarten (early childhood school), kindergarten-5th gra...

Passing data into “router-outlet” child components (angular 2)

圖片
61 13 I've got a parent component that goes to the server and fetches an object. // parent component @Component({ selector : 'node-display', template : ` <router-outlet [node]="node"></router-outlet> ` }) export class NodeDisplayComponent implements OnInit { node: Node; ngOnInit(): void { this.nodeService.getNode(path) .subscribe( node => { this.node = node; }, err => { console.log(err); } ); } And in (one of several) my child display export class ChildDisplay implements OnInit{ @Input() node: Node; ngOnInit(): void { console.log(this.node); } } ...