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

Feature/targeted #13

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open

Feature/targeted #13

wants to merge 11 commits into from

Conversation

adambom
Copy link

@adambom adambom commented Feb 20, 2014

Now you can provide targets to makeImagesResponsive. Will accept:

  • A valid document.querySelector string
  • A valid HTMLImageElement
  • An array of HTMLImageElements
  • No argument passed defaults to all images in the DOM

Must still define a data-src or data-src2x attribute or else targets will be passed.

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

Successfully merging this pull request may close these issues.

None yet

1 participant