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

try breakpoints step by step, feature request #151

Open
slavugan opened this issue Aug 25, 2017 · 0 comments
Open

try breakpoints step by step, feature request #151

slavugan opened this issue Aug 25, 2017 · 0 comments

Comments

@slavugan
Copy link

for example I have such breakpoints

    breakpoints: [{
              width: 360, // max-width
              src: 'data-src-xsmall'
        }, {
              width: 600,
              src: 'data-src-small'
        }, {
              width: 1024,
              src: 'data-src-medium'
        }, {
              width: 1366,
              src: 'data-src-large'
        }]

it would be nice to have an option to try breakpoints one after one. for example if image doesn't have data-src-xsmall Blazy should check for data-src-small and so on.

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