Answers for "angular contenteditable change"

2

div contenteditable onchange angular

You can use the input event, like so:
...
<div contenteditable (input)="onNameChange($event.target.innerHTML)">
   Type your name
</div>
Posted by: Guest on April-09-2021

Browse Popular Code Answers by Language