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