vue-carousel
vue-carousel copied to clipboard
With Drag disabled there is no need to prevent default.
The reason I want to drag and drop lists inside a carousel.
Description
checking the drag and drop enabled from the parent, I can turn off the event listener.
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
Checklist:
- [ ] My code follows the code style of this project.
- [ ] My change requires a change to the documentation.
- [ ] I have updated the documentation accordingly.
- [ ] I have included a vue-play example (if this is a new feature)