Skip to content

Handle all slick events#100

Open
umpirsky wants to merge 1 commit intovasyl-stanislavchuk:masterfrom
umpirsky:feature/bind-more-events
Open

Handle all slick events#100
umpirsky wants to merge 1 commit intovasyl-stanislavchuk:masterfrom
umpirsky:feature/bind-more-events

Conversation

@umpirsky
Copy link
Copy Markdown

@umpirsky umpirsky commented Jun 6, 2015

My use case was finding workaround for #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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant