Skip to content

Commit 39484a1

Browse files
authored
Fixed description of the content slot (#33)
1 parent c13705c commit 39484a1

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -126,13 +126,13 @@ import styles from 'vue-pure-lightbox/dist/VuePureLightbox.css'
126126
| open-at-index | integer | **(Optional)** index of an image to show when opening the modal |
127127

128128
### Available slots:
129-
| Slot | Description | Default |
130-
| ------------- | ---------------------------------------------- | ----------------------------------------- |
131-
| content | Default value is hen you don't want a def | <img> tag with src set to path |
132-
| loader | DOM to be used when there is an image loading | LightboxDefaultLoader |
133-
| icon-close | Icon to be used as a close button | × (×) |
134-
| icon-previous | Icon to be used as the "next" arrow button | ![](https://i.imgur.com/HcdxJmd.png)(svg) |
135-
| icon-next | Icon to be used as the "previous" arrow button | ![](https://i.imgur.com/oErSVk3.png)(svg) |
129+
| Slot | Description | Default |
130+
| ------------- | ---------------------------------------------------- | ----------------------------------------- |
131+
| content | DOM to be used in place of an image in the lightbox | <img> tag with src set to path |
132+
| loader | DOM to be used when there is an image loading | LightboxDefaultLoader |
133+
| icon-close | Icon to be used as a close button | × (×) |
134+
| icon-previous | Icon to be used as the "next" arrow button | ![](https://i.imgur.com/HcdxJmd.png)(svg) |
135+
| icon-next | Icon to be used as the "previous" arrow button | ![](https://i.imgur.com/oErSVk3.png)(svg) |
136136

137137
## Contents
138138
This package consists of just one `.vue` file. It is meant to be as small and simple as possible.

0 commit comments

Comments
 (0)