cubiq / SwipeView

Virtually infinite loop-able horizontal carousel
MIT License
698 stars 167 forks source link

Options to set explicitly wrapper width and height added. Fixes #45 #50

Open bongofury opened 11 years ago

bongofury commented 11 years ago

Hi cubiq,

just found a solution to issue #45. When a new Swipeview object is instantiated and the html wrapper element is not rendered, you can prevent wrapper size to be === 0 setting explicitly wrapperWidth and wrapperHeight options.

I think it’d be worthwhile to pull it into the project repository.

Thanks!