Open umpirsky opened 9 years ago
My use case was finding workaround for https://github.com/vasyabigi/angular-slick/issues/72.
Workaround was doing http://stackoverflow.com/questions/29101254/angularjs-slick-js-carousel-ng-click-not-firing-with-responsive-attribute-settin/30584787#30584787, but this worked only when resizing window, on mobile it still does not work. So I came up with on-set-position="slickOnInit()" which used to fix it, but I need onSetPosition support.
on-set-position="slickOnInit()"
I added it as well as other events listed on https://github.com/kenwheeler/slick#events. It may be useful for many other use cases to have this events available.
@vasyabigi Please review and merge it as soon as you have time. Would be nice if you can release new version including this change.
Thanks.
My use case was finding workaround for https://github.com/vasyabigi/angular-slick/issues/72.
Workaround was doing http://stackoverflow.com/questions/29101254/angularjs-slick-js-carousel-ng-click-not-firing-with-responsive-attribute-settin/30584787#30584787, but this worked only when resizing window, on mobile it still does not work. So I came up with
on-set-position="slickOnInit()"
which used to fix it, but I need onSetPosition support.I added it as well as other events listed on https://github.com/kenwheeler/slick#events. It may be useful for many other use cases to have this events available.
@vasyabigi Please review and merge it as soon as you have time. Would be nice if you can release new version including this change.
Thanks.