Skip to content

Commit 1426c5d

Browse files
committed
updated docs
1 parent a7592b2 commit 1426c5d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
Vue Lightbox Advanced provides flexibility of displaying first x (1-5) images of your gallery in a grid view as you seen on Facebook timeline. Click on the thumbnail will return an event with the index or file url (src) as per passed props that can be used to show the image or can be used to redirect to that specific file url (src).
1111
It provides the shuffling images according to given options in docs.
1212

13+
> Note: It requires parent height and width as the component will adapt to its resolutions
1314
1415
## 🎨 Features
1516

@@ -40,13 +41,14 @@ https://unpkg.com/vue-lightbox-advanced
4041

4142
```html
4243
<template>
43-
<div>
44+
<div style="height: 250px; width: 400px;">
4445
<VueLightboxAdvanced :items="images" />
4546
</div>
4647
</template>
4748

4849
<script>
4950
import VueLightboxAdvanced from 'vue-lightbox-advanced'
51+
import 'vue-lightbox-advanced/dist/VueLightboxAdvanced.css'
5052
5153
export default {
5254
name: 'MyComponent',
@@ -76,6 +78,6 @@ https://unpkg.com/vue-lightbox-advanced
7678

7779
This software is licensed under the [MIT](https://github.com/codeeshop-oc/vue-lightbox-advanced/blob/main/LICENSE).
7880

79-
## Reference From
81+
### Reference
8082

8183
[Morioh-Lab/v-lightbox](https://github.com/Morioh-Lab/v-lightbox)

0 commit comments

Comments
 (0)