in html // in .ts @ViewChild('input') input:ElementRef; //Output value console.log(this.input.nativeElement.value);
確定! 回上一頁