Closed amineyarman closed 3 years ago
@Aminerman seems like a reasonably simple feature to implement and I agree that it would make the library more flexible. I should be able to work on it this week.
Amazing :) I'll be looking forward to that!
@Aminerman I am proposing that this be the slot api for the navigation controls. It will give you access to methods to go forward and backwards through the stack as well as a property which will enable you to determine what index you are currently at. Providing just these props and not assuming any default controls gives the consumer of the library full control on how any controls are implemented. Let me know your thoughts. If happy I will finalise documentation and push out a new release.
Example usage:
Thanks for this amazing project. The result looks quite polished.
But I have a suggestion to add a bit more flexibility and ease of use on certain devices. Adding a slot for a next button, and one for a previous button would be quite handy. It would make it a quite sophisticated carousel.