divtiteditable onchange angular
You can use the input event, like so:
...
<div contenteditable (input)="onNameChange($event.target.innerHTML)">
Type your name
</div>
GutoTrosla