Why do we have to specify width and height?
Opened this issue · 3 comments
lbineau commented
It is not to criticize just an open question.
jQuery plugins like masonry takes the CSS dimensions to calculate the dimensions of the items.
Is your choice performance related?
Thanks.
warmjaijai commented
same question, i struggle to input width and height when the they are depending on lots of different variable and thats hardly to be calculated.
huyongyong1992 commented
i just want a effect of pictures list, but we can not know the width/height ratio of a picture. so ,how to set the required prop 'height'(different picture have different width/height ratio)
PLDaily commented
try my vue component vue2-conponent,you don't need to set height