Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- document.getElementById('loginInput').value = '123';
- <input type='text' id='loginInput' #abc/>
- this.abc.nativeElement.value
- ngAfterViewInit(){
- document.getElementById('loginInput').value = '123344565';
- }
- (<HTMLInputElement>document.getElementById('loginInput')).value = '123';
- <input type="text" [(ngModel)]="username" [ngModelOptions]='{standalone: true}'/>
- <input type="text" [(ngModel)]="password" [ngModelOptions]='{standalone: true}'/>
- username: 'whatever'
- password: 'whatever'
Add Comment
Please, Sign In to add comment