Answers for "div contenteditable onchange angular"

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

Code answers related to "div contenteditable onchange angular"

Browse Popular Code Answers by Language