@ViewChild('username') usernameElement: ElementRef;. Finally, read the input value using ElementRef.nativeElement.value . Here is the complete HTML template ...
確定! 回上一頁