Skip to content

How to: showMultiple (value), changeBy 1 base on window width? #414

@claudchan

Description

@claudchan

Hi guys!

I would like to ask if anythingSlider can do such thing.
I have a slider item size of 320px X 150px with setting option showMultiple (value) & changeBy: 1
I like my slider to auto show more items in a row/slide by detect the browser width.
But I don't know how.

IF browser width is more or equal to 320, I want my slider to showMultiple: 1 & changeBy: 1
IF browser width is more or equal to 640, I want my slider to showMultiple: 2 & changeBy: 1
IF browser width is more or equal to 960, I want my slider to showMultiple: 3 & changeBy: 1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions