Skip to content

Commit 0d62c05

Browse files
authored
Update README.md
1 parent c16e643 commit 0d62c05

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 | <svg height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"/><path d="M0-.5h24v24H0z" fill="none"/></svg> |
135-
| icon-next | Icon to be used as the "previous" arrow button | <svg height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"/><path d="M0-.25h24v24H0z" fill="none"/></svg> |
129+
| Slot | Description | Default |
130+
| ------------- | ---------------------------------------------- | ----------------------------------------- |
131+
| content | Default value is hen you don't want a def | &lt;img&gt; 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 | &times; (&amp;times;) |
134+
| icon-previous | Icon to be used as the "next" arrow button | ![](https://i.imgur.com/oErSVk3.png)(svg) |
135+
| icon-next | Icon to be used as the "previous" arrow button | ![](https://i.imgur.com/HcdxJmd.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)