Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ui5-carousel: add event for selected page changed #1449

Closed
MarcusNotheis opened this issue Apr 8, 2020 · 0 comments · Fixed by #1454
Closed

ui5-carousel: add event for selected page changed #1449

MarcusNotheis opened this issue Apr 8, 2020 · 0 comments · Fixed by #1454
Assignees

Comments

@MarcusNotheis
Copy link
Collaborator

MarcusNotheis commented Apr 8, 2020

Is your feature request related to a problem? Please describe.
I need to know in my application when the active (=displayed) page in a carousel changes.

Describe the solution you'd like
The Carousel should fire an event like onNavigation or onSelectedPageChange or any other name that fits. This event should also pass the information what the new selected-index is.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
not feasible

@ilhan007 ilhan007 self-assigned this Apr 9, 2020
ilhan007 added a commit that referenced this issue Apr 23, 2020
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: #1449
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants