File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -264,6 +264,9 @@ The previous button on the thumbs list.
264
264
#### nextThumb
265
265
The next button on the thumbs list.
266
266
267
+ #### customCaption
268
+ The caption of the current image.
269
+
267
270
### Events
268
271
269
272
- ` 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
282
285
- [ @jstr14 ] ( https://github.com/jstr14 )
283
286
- [ @PedroBatista333 ] ( https://github.com/PedroBatista333 )
284
287
- [ @vtalbot ] ( https://github.com/vtalbot )
288
+ - [ @hasangilak ] ( https://github.com/hasangilak )
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " vue-image-lightbox" ,
3
3
"description" : " A Vue.js package to display an image gallery lightbox" ,
4
- "version" : " 6.3.1 " ,
4
+ "version" : " 6.4.0 " ,
5
5
"author" :
" Nguyen Thien Dzung <[email protected] >" ,
6
6
"license" : " MIT" ,
7
7
"main" : " dist/vue-image-lightbox.min.js" ,
Original file line number Diff line number Diff line change 39
39
>
40
40
</ transition >
41
41
42
- < slot name ="custom-caption ">
42
+ < slot name ="customCaption ">
43
43
< div
44
44
class ="vue-lb-info "
45
45
v-html ="images[select].caption "
51
51
< div class ="vue-lb-footer-info "> </ div >
52
52
< div class ="vue-lb-footer-count ">
53
53
< slot name ="footer "
54
- :current ="select + 1 "
55
- :total ="images.length "
54
+ :current ="select + 1 "
55
+ :total ="images.length "
56
56
>
57
57
{{ select + 1 }} / {{ images.length }}
58
58
</ slot >
You can’t perform that action at this time.
0 commit comments