devmark / angular-slick-carousel

Angular directive for slick-carousel
http://devmark.github.io/angular-slick-carousel/
MIT License
353 stars 125 forks source link

Variable width not working #115

Closed thierryskoda closed 7 years ago

thierryskoda commented 7 years ago

I'm trying to reproduce the same effect as the example for Variable Width on this website : http://kenwheeler.github.io/slick/

I tried adding variableWidth="true" to my slick component but it doesn't seem to work. I'm always stuck the default width the slick library is giving me .. :(

thierryskoda commented 7 years ago

Ah found the problem! I just used settings="mySettings with

mySettings = {
   variableWidth: true
}

This worked for me!