I have made my div contenteditable div and it also opens ngx-popover on keyup and populate search results into popover on basis of searchText so I need two way
In .html:
In .ts:
getContent(innerText){ this.content = innerText; }