Skip to content

v3.0.0

Compare
Choose a tag to compare
@saneef saneef released this 04 Jun 17:33
· 37 commits to main since this release
099627c
  • Class attribute from <img> tags are not moved to <picture> by default. That behaviour can be enabled through option, hoistImgClass
  • New option pictureClass to provide class names for the newly created <picture> elements.
  • Also, you can provide class name to <picture> through data-img2picture-picture-class attribute on <img> tag.

Full Changelog: v2.0.3...v3.0.0