-
Notifications
You must be signed in to change notification settings - Fork 122
Open
Description
Tryed this sample from the README:
app.config(['slickCarouselConfig', function (slickCarouselConfig) {
slickCarouselConfig.dots = true;
slickCarouselConfig.autoplay = false;
}])
This is not working because in lib's source code, in initOptions function, angular.extend is not used correctly.
QUICK FIX: switch places of first and second arguments.
This way, the default values of config parameters will be loaded, then values from slickCarouselConfig and finally the settings object (if any) passed to slick directive
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels