Home > Q&A > body text
Use
<p id="goodlist"> <p ng-repeat="good in goods">{{good}}</p> </p>
After the data cycle is completed, I use js to obtain the height of p, but the obtained value is always wrong. How to solve it?
仅有的幸福2017-05-15 17:03:01
Put the code for getting p height inside $timeout() and try it
巴扎黑2017-05-15 17:03:01
http://stackoverflow.com/questions/13471129/ng-repeat-finish-event