this.wrapper.clientWidth in function refreshSize is 0 if I new a swipeview but the HTML DOM hasn't rendered.
2hanson opened this issue · 1 comments
2hanson commented
this.wrapper.clientWidth in function refreshSize is 0 if I new a swipeview but the HTML DOM hasn't rendered.
such as fellow code:
this.$el.html("
<div id="swipeview">
</div>