Open varias-xumak opened 7 years ago
When I try to pass slides-per-view param with value "auto" I get the default "1" because there is an "=" on the directive scope param. https://github.com/ksachdeva/angular-swiper/blob/master/src/angular-swiper.js#L31
I was also struggling to make this work, it turns out you just have to wrap your value in quotes like <ks-swiper-container slides-per-view="'auto'"> because of the two-way binding on the attribute.
<ks-swiper-container slides-per-view="'auto'">
When I try to pass slides-per-view param with value "auto" I get the default "1" because there is an "=" on the directive scope param. https://github.com/ksachdeva/angular-swiper/blob/master/src/angular-swiper.js#L31