Skip to content

Commit 2a4b395

Browse files
committed
chore(package): bump to v6.4.0 and update readme
1 parent 3e695db commit 2a4b395

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,9 @@ The previous button on the thumbs list.
264264
#### nextThumb
265265
The next button on the thumbs list.
266266

267+
#### customCaption
268+
The caption of the current image.
269+
267270
### Events
268271

269272
- `onOpened(value)`: `true` to emit when the lightbox is opened and `false` when it is closed.
@@ -282,3 +285,4 @@ Most of the CSS belongs to [react-images](https://github.com/jossmac/react-image
282285
- [@jstr14](https://github.com/jstr14)
283286
- [@PedroBatista333](https://github.com/PedroBatista333)
284287
- [@vtalbot](https://github.com/vtalbot)
288+
- [@hasangilak](https://github.com/hasangilak)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "vue-image-lightbox",
33
"description": "A Vue.js package to display an image gallery lightbox",
4-
"version": "6.3.1",
4+
"version": "6.4.0",
55
"author": "Nguyen Thien Dzung <[email protected]>",
66
"license": "MIT",
77
"main": "dist/vue-image-lightbox.min.js",

src/components/template.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
>
4040
</transition>
4141

42-
<slot name="custom-caption">
42+
<slot name="customCaption">
4343
<div
4444
class="vue-lb-info"
4545
v-html="images[select].caption"
@@ -51,8 +51,8 @@
5151
<div class="vue-lb-footer-info"></div>
5252
<div class="vue-lb-footer-count">
5353
<slot name="footer"
54-
:current="select + 1"
55-
:total="images.length"
54+
:current="select + 1"
55+
:total="images.length"
5656
>
5757
{{ select + 1 }} / {{ images.length }}
5858
</slot>

0 commit comments

Comments
 (0)