Skip to content

Issue in using custom breakpoints #58

Description

@btkarthick

Hi,
I have tried to use custom breakpoints like [0, 768] and using the below in the html markup.

img data-src0='images/logo-xs.png' data-src768='images/logo.png'

When the page is loaded in desktop resolution and resized to mobile then the above working fine. But when the page is loaded in mobile resolution(eg: 320px X 480px) and resized towards desktop then @768 the image should change but its not changing and the image in data-src0 remains.

So, my question is that responsejs only work in these custom breakpoints(as give in the docs) [0, 320, 481, 641, 961, 1025, 1281]?

I am using 0.9.1 version.

Any help would be greatly appreciated.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions