Skip to content

Commit 86698ec

Browse files
committed
Added documentation to readme about new slots
1 parent 28bd0f7 commit 86698ec

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,13 @@ Vue.use(Lightbox)
9898
| value | boolean | **(Optional)** reactive visibility prop |
9999

100100
### Available slots:
101-
| Slot | Description | Default |
102-
| ------- | --------------------------------------------- | ------------------------------------ |
103-
| content | Default value is hen you don't want a def | <img> tag with src set to path |
104-
| loader | DOM to be used when there is an image loading | No loader |
101+
| Slot | Description | Default |
102+
| ------------- | ---------------------------------------------- | ------------------------------------ |
103+
| content | Default value is hen you don't want a def | <img> tag with src set to path |
104+
| loader | DOM to be used when there is an image loading | No loader |
105+
| icon-close | Icon to be used as a close button | × |
106+
| 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> |
107+
| 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> |
105108

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

0 commit comments

Comments
 (0)