How does angular monitor data changes dynamically?

angular rookie, do not spray
1. I want to monitor the real-time changes of data in the textarea box
2, how to bind the current data length in real time

clipboard.png

ts

clipboard.png

clipboard.png

The span in the

template does not need to write [(ngModel)], just write {{textContent.length}}.

Menu