invoke width with pre-filled input value.
Closed this issue · 2 comments
vincent-cm commented
Add following to ngOnInit to enable width auto assign
setTimeout(()=>{ this.sizeDiv.innerText = this.elementRef.nativeElement.value; this.inputWidth = this.sizeDiv.getBoundingClientRect().width; })
tudorgergely commented
Hi @vincent-cm , can you quickly put up a jsfiddle to show me what issues you have? If you want those changes, can you create a pull-request? I don't completely understand the issues you are having.
Thanks!
tudorgergely commented
@vincent-cm closing this because of inactivity.