Angular2(AngularJS2)

@Comonent 把元數據注入到類中(注入細則:reflect-metedata) selector : 組件執行玩的結果會注入selector標籤內 template :  模板,可以是一個.html文件 {{ }} : 數據綁定(interpolation:插值) @Input() : 父組件向子組件傳遞數據 @Output() : 子組件向父組件傳遞數據 ElementRef : 指元素引
相關文章
相關標籤/搜索