Skip to content

Releases: DCzajkowski/vue-pure-lightbox

Preview slot release

Choose a tag to compare

@DCzajkowski DCzajkowski released this 06 May 13:21
3.2.0

v3.2.0

Security update

Choose a tag to compare

@DCzajkowski DCzajkowski released this 05 Jun 19:59
3.1.1

Release 3.1.1

Added the open-at-index prop

Choose a tag to compare

@DCzajkowski DCzajkowski released this 05 May 13:41

Moved to a new build system.

Choose a tag to compare

@DCzajkowski DCzajkowski released this 03 May 19:49

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

Added new slots

Choose a tag to compare

@DCzajkowski DCzajkowski released this 30 Apr 00:48

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

Added value prop and many more improvements

Choose a tag to compare

@DCzajkowski DCzajkowski released this 23 Feb 13:12
2.1.8

Bump version

Added support for the content slot

Choose a tag to compare

@DCzajkowski DCzajkowski released this 22 Jan 11:37

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

Choose a tag to compare

@DCzajkowski DCzajkowski released this 12 Oct 17:37
086f6a3

Fixed #6 - Thanks @wat-aro!

Added loader

Choose a tag to compare

@DCzajkowski DCzajkowski released this 29 Jul 19:47
2.1.5

Bump version

Remove event listener when component is destroyed

Choose a tag to compare

@DCzajkowski DCzajkowski released this 25 Aug 13:12
2.1.4

Remove event listener when the component is destroyed