Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After getting the carousel data by Asynchronous call (Api) the width of slick track is not getting properly... #123

Open
AnkitPandey007 opened this issue Mar 20, 2017 · 0 comments

Comments

@AnkitPandey007
Copy link

JS-

HttpServiceCall.getTestimonialList().then(function(data){
if (data.success == true)
{
$scope.arrTestimonials = data.data;
$scope.isTestimonialsLoded = true;
$scope.slickConfig = {
arrows: true,
dots: false,
infinite: true,
autoplay: true,
autoplaySpeed: 3500,
speed: 1500,
slidesToShow: 1,
slidesToScroll: 1,
fade: true,
cssEase: 'linear',
event: {
beforeChange: function (event, slick, currentSlide, nextSlide) {
},
afterChange: function (event, slick, currentSlide, nextSlide) {
}
}
};
}
});

HTML-

{{testimonial.description}}d
I am also using adaptiveHeight: true but not worked.

wrong output is like(slide1)-
Hi,
I like
Testy
foods

expexted output(slide1):
Hi, I like Testy foods

@AnkitPandey007 AnkitPandey007 changed the title On Asynchronous call (Api) the height of slide content is not getting properly... After getting the carousel data by Asynchronous call (Api) the height of slide content is not getting properly... Mar 20, 2017
@AnkitPandey007 AnkitPandey007 changed the title After getting the carousel data by Asynchronous call (Api) the height of slide content is not getting properly... After getting the carousel data by Asynchronous call (Api) the width of slick track is not getting properly... Mar 21, 2017
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

No branches or pull requests

1 participant