Skip to content

4.3.0

Compare
Choose a tag to compare
@jonnitto jonnitto released this 07 Feb 08:39
· 10 commits to master since this release
93dcf5f

Alter generated markup

Adding custom attributes to the PhotoSwipe container

You can add custom attributes to the PhotoSwipe container like this:

Jonnitto:
  PhotoSwipe:
    additonalPswpContainerAttributes:
      data-turbo-temporary: true
      class: 'my-custom-class'

Adding custom attributes to the link in the error fetch message

Jonnitto:
  PhotoSwipe:
    fetchAttributeErrorMessages: 'data-pswp-type="fetch" data-turbo="false"'

Full Changelog: 4.2.0...4.3.0