I have a row-like layout, and on the rows, there are several text areas in embedded divs, just like the following:
<div class="row-192">
<div class="inner">
<p>
text
</p>
<textarea rows="4" cols="40"></textarea>
</div>
</div>
If the user resizes the textArea with the small triangle button, I need to adjust the current row height (and other properties) accordingly. I found some solutions in jQuery, but I need to stick to Angular directives only.
demo:
http://jsfiddle.net/o0yvysL5/1/
Preferably, I would require some kind of an event, that I can subscribe to, like <textarea (resize)="resizeEvent($event)" ...
but there are none.
Any ideas?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…