Angular數據綁定、響應式編程、管道

數據綁定 1.事件綁定 函數調用: 屬性賦值: example: 1.1創建項目 –> ng new demo1 1.2生成組件 –> ng g component bind 1.3 bind.component.html <p> bind works! </p> <button (click)="doOnClick($event)">點我</button> bind.component.ts
相關文章
相關標籤/搜索