From c55bcdc8b4d05330d1c731e4b7ef005bdd2ecea6 Mon Sep 17 00:00:00 2001 From: ilhan orhan Date: Thu, 23 Apr 2020 16:06:52 +0300 Subject: [PATCH] feat(ui5-carousel): add navigate event (#1454) The event is fired whenever the selectedIndex changes due to user interaction - when the user clicks on the navigation arrows or while resizing, based on the "items-per-page-s/m/l" properties. Fixes: https://github.com/SAP/ui5-webcomponents/issues/1449 --- packages/main/src/Carousel.hbs | 4 +++ packages/main/src/Carousel.js | 36 +++++++++++++++++++-- packages/main/test/pages/Carousel.html | 21 ++++++++++++ packages/main/test/specs/Carousel.spec.js | 39 +++++++++++++++++++++++ 4 files changed, 98 insertions(+), 2 deletions(-) diff --git a/packages/main/src/Carousel.hbs b/packages/main/src/Carousel.hbs index 63e919d60d19..593afa9d0b57 100644 --- a/packages/main/src/Carousel.hbs +++ b/packages/main/src/Carousel.hbs @@ -24,6 +24,7 @@ {{#if arrows.content}}