Textarea Caret Position Typescript version
is a fork of this repo, with new functions.
Example
Note: the package has only been tested in angular but should also work in vue, react or other frameworks.
; caretElement: ElementRef<HTMLInputElement>; divElement: ElementRef<HTMLDivElement>; ngAfterViewInit