-
Notifications
You must be signed in to change notification settings - Fork 504
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
Added Array type to navigateTo prop type check #366
Added Array type to navigateTo prop type check #366
Conversation
Updated readme.md; Added example usage to Vue play file
Hey @rico-ocepek, thanks for this! I'll test and merge in this afternoon 🚀 |
Hi @quinnlangille, sorry to bother you again - do we have any progress here? Would love to integrate this feature in a client project without anyone asking why there is an error message 😅 |
Hey @rico-ocepek sorry for the delay! I've merged and published as an alpha tag since you needed it quickly - you can find it with |
No worries @quinnlangille, thank you for your help and your great work here! 👍🏻 |
Updated readme.md; Added example usage to Vue play file
Updated readme.md; Added example usage to Vue play file
Updated readme.md; Added example usage to Vue play file
Updated readme.md; Added example usage to Vue play file
Updated readme.md; Added example usage to Vue play file
Updated readme.md; Added example usage to Vue play file
Description
Changed the property type of the carousel's navigateTo property from Number only to [Number, Array].
Also updated readme.md to describe the new behaviour.
Updated the "NavigateTo slides" Vue play example to include an example of the new API usage.
Motivation and Context
As the pending fix from https://github.com/SSENSE/vue-carousel/issues/257 should finally be done I decided to help you out a bit.
How Has This Been Tested?
As the feature was already implemented and only the property type was wrong further tests should not be required.
However I did test both cases of the navigateTo property (animated and non animated) and couldn't spot any errors.
As I said I also included an example in the Vue play file for testing purposes.
Types of changes
Checklist: