File tree 4 files changed +248
-208
lines changed
4 files changed +248
-208
lines changed Original file line number Diff line number Diff line change @@ -205,6 +205,12 @@ How to use:
205
205
<td>Next</td>
206
206
<td>Text for the next thumb image button</td>
207
207
</tr>
208
+ <tr>
209
+ <td>showFooterCount</td>
210
+ <td>Boolean</td>
211
+ <td>true</td>
212
+ <td>Show footer count</td>
213
+ </tr>
208
214
</tbody >
209
215
</table >
210
216
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" : " 7.1.3 " ,
4
+ "version" : " 7.2.0 " ,
5
5
"author" :
" Nguyen P. Thien Dzung <[email protected] >" ,
6
6
"license" : " MIT" ,
7
7
"main" : " dist/vue-image-lightbox.min.js" ,
50
50
"optimize-css-assets-webpack-plugin" : " 5.0.3" ,
51
51
"rimraf" : " ^3.0.2" ,
52
52
"style-loader" : " ^1.0.0" ,
53
- "terser-webpack-plugin" : " ^2.3.5 " ,
53
+ "terser-webpack-plugin" : " ^4.2.2 " ,
54
54
"url-loader" : " ^4.0.0" ,
55
55
"vue" : " ^2.6.10" ,
56
56
"vue-loader" : " ^15.9.1" ,
57
57
"vue-template-compiler" : " ^2.6.10" ,
58
- "webpack" : " 4.43.0 " ,
58
+ "webpack" : " 4.44.2 " ,
59
59
"webpack-cli" : " 3.3.11" ,
60
- "webpack-dev-server" : " 3.10.3 "
60
+ "webpack-dev-server" : " 3.11.0 "
61
61
},
62
62
"vetur" : {
63
63
"tags" : " dist/vetur/tags.json" ,
Original file line number Diff line number Diff line change 7
7
@beforeLeave =" disableImageTransition"
8
8
>
9
9
<div
10
- v-if =" media && media.length > 0 "
10
+ v-if =" media"
11
11
v-show =" lightBoxOn"
12
12
ref =" container"
13
13
class =" vue-lb-container"
75
75
<div class =" vue-lb-footer" >
76
76
<div class =" vue-lb-footer-info" />
77
77
<div
78
- v-if =" media.length > 1"
79
78
class =" vue-lb-footer-count"
79
+ v-show =" showFooterCount"
80
80
>
81
81
<slot
82
82
name =" footer"
@@ -219,6 +219,11 @@ export default {
219
219
default: true ,
220
220
},
221
221
222
+ showFooterCount: {
223
+ type: Boolean ,
224
+ default: true ,
225
+ },
226
+
222
227
// Mode
223
228
autoPlay: {
224
229
type: Boolean ,
You can’t perform that action at this time.
0 commit comments