Skip to content
This repository has been archived by the owner on Feb 24, 2023. It is now read-only.

Update README.md #239

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,8 +220,8 @@ From version `1.0` the component use slots for custom navigation buttons. It mea
<agile>
... <!-- slides -->

<template slot="prevButton">prev</template>
<template slot="nextButton">next</template>
<template v-slot:prevButton>prev</template>
<template v-slot:nextButton>next</template>
</agile>
```

Expand All @@ -235,7 +235,7 @@ To display a static caption or such like within the gallery, you can use the `ca
<agile @after-change="e => currentSlide = e.currentSlide">
... <!-- slides -->

<template slot="caption">{{ captions[currentSlide] }}</template>
<template v-slot:caption>{{ captions[currentSlide] }}</template>
</agile>

<script>
Expand Down