Skip to content

Releases: DCzajkowski/vue-pure-lightbox

Preview slot release

06 May 13:21
Compare
Choose a tag to compare

Security update

05 Jun 19:59
Compare
Choose a tag to compare
3.1.1

Release 3.1.1

Added the open-at-index prop

05 May 13:41
Compare
Choose a tag to compare

Moved to a new build system.

03 May 19:49
Compare
Choose a tag to compare

Some breaking changes have been introduced. Please refer to the readme for any information.

Added new slots

30 Apr 00:48
Compare
Choose a tag to compare

Added new slots from #14 (thanks @keesvanlierop).

Added value prop and many more improvements

23 Feb 13:12
Compare
Choose a tag to compare

Added support for the content slot

22 Jan 11:37
Compare
Choose a tag to compare

Usage of the new content slot with example youtube video:

<lightbox
  thumbnail="http://via.placeholder.com/350x150"
  :images="[
    'http://placekitten.com/1080/910',
    'http://placekitten.com/1080/920',
    'https://www.youtube.com/embed/dQw4w9WgXcQ',
  ]"
>
  <lightbox-default-loader slot="loader"></lightbox-default-loader>
  <div slot="content" slot-scope="{ url }">
    <iframe
      v-if="url.includes('youtube') || url.includes('youtu.be')"
      :src="url"
      frameborder="0"
      allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
      allowfullscreen
      style="width: 100%; height: 90vh;"
    ></iframe>
    <img v-else :src="url">
  </div>
</lightbox>

Fixed #6

12 Oct 17:37
086f6a3
Compare
Choose a tag to compare

Fixed #6 - Thanks @wat-aro!

Added loader

29 Jul 19:47
Compare
Choose a tag to compare
2.1.5

Bump version

Remove event listener when component is destroyed

25 Aug 13:12
Compare
Choose a tag to compare
2.1.4

Remove event listener when the component is destroyed