vue-waterfall icon indicating copy to clipboard operation
vue-waterfall copied to clipboard

Why do we have to specify width and height?

Open lbineau opened this issue 8 years ago • 3 comments

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.

lbineau avatar Nov 24 '16 08:11 lbineau

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.

warmjaijai avatar Dec 16 '16 05:12 warmjaijai

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)

huyongyong1992 avatar Dec 09 '17 12:12 huyongyong1992

try my vue component vue2-conponent,you don't need to set height

PLDaily avatar Mar 04 '18 15:03 PLDaily