F
F
flare0n2018-10-29 20:36:18
JavaScript
flare0n, 2018-10-29 20:36:18

JavaScript. Does not respond to breakpoints, how to specify them correctly?

I use slick slider

$('.product-slider_nav').slick({
          slidesToShow: 4,
        slidesToScroll: 1,
        arrows: true,
        focusOnSelect: true,
        prevArrow: '<div class="slider-arrow slider-arrow_left"></div>',
        nextArrow: '<div class="slider-arrow slider-arrow_right"></div>',
        asNavFor: '.product-slider_for',
        responsive: [
        	{
        		breakpoint 600,
        		settings: {
        			slidesToShow: 2,
        			slidesToScroll: 1,
        			arrows: true,
        			focusOnSelect: true,
        			dots: true
        		}
        	}
        ]
        });

The panel displays the following:
Picture
5bd7442fa5221155194773.png
, which is very clear to me. That he does not UNDERSTAND that I indicate after the colon. How to do it right? Much needed for adaptation.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Pushkarev, 2018-10-29
@flare0n

breakpoint: 600,
no colon

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question