Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

div contenteditable onchange angular

You can use the input event, like so:
...
<div contenteditable (input)="onNameChange($event.target.innerHTML)">
   Type your name
</div>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #div #contenteditable #onchange #angular
ADD COMMENT
Topic
Name
1+2 =