From 3e278fdaab8235283752cc22f6e9c475d69fc2fb Mon Sep 17 00:00:00 2001 From: Ryo Kobayashi <40686845+ryoluo@users.noreply.github.com> Date: Mon, 13 Sep 2021 16:32:39 +0900 Subject: [PATCH] Fix misstatement in examples.md Fixed misstatement in example code of "Custom Controllers". In `updateCarousel()` method, `this.myCarouselData` must be `this.carouselData` as it defined in data section. --- docs/examples.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/examples.md b/docs/examples.md index 39cb355..d143492 100644 --- a/docs/examples.md +++ b/docs/examples.md @@ -772,7 +772,7 @@ export default { this.$refs.carousel.slideNext(); }, updateCarousel(payload) { - this.myCarouselData = payload.currentSlide; + this.carouselData = payload.currentSlide; } } } @@ -881,4 +881,4 @@ export default { #centerMode .hooper-slide.is-current { transform: scale(1.2); } - \ No newline at end of file +