回答編集履歴
1
参考URL追加
answer
CHANGED
@@ -1,3 +1,5 @@
|
|
1
1
|
https://angular.io/docs/ts/latest/cookbook/component-communication.html#!#bidirectional-service
|
2
2
|
|
3
|
+
http://stackoverflow.com/questions/37662456/angular-2-output-from-router-outlet
|
4
|
+
|
3
5
|
<router-outlet>から親クラスに値のやり取りをするのはやはり無理なようなので、serviceクラスを作り、子→サービスクラス→親という流れで値を渡す方法を模索することにしました。上記urlはそのサンプルです。
|