How does vue judge that the content of the picture and text exceeds the specified height to achieve the effect of "reading the full text"?

to achieve the effect similar to that of a short book. If the content exceeds 1000px, the full text will not be displayed. How can you tell that all the pictures have been loaded to get the true height?

another phenomenon is found that the length of the scroll bar will jump from long to shorter when loading, which should be caused by waiting for the page content to be loaded and then folded, but this is not the case when CSDN is loaded. I don"t know what dark magic CSDN uses?

May.22,2021

ULIVZ wrote a Wheel specifically for this purpose.

Menu