在angular的component中可以定義@Output標識的EventEmitter物件。如: @Output() update = new EventEmitter();. 在html中就可以這樣使用
確定! 回上一頁