We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1c5cec commit b49e08fCopy full SHA for b49e08f
src/components/Carousel/carouselProps.ts
@@ -124,9 +124,9 @@ export const carouselProps = {
124
preventExcessiveDragging: {
125
default: false,
126
type: Boolean,
127
- validator(value: boolean, props: CarouselConfig) {
+ validator(value: boolean, props: { wrapAround?: boolean }) {
128
if (value && props.wrapAround)
129
- console.warn(
+ console.warn( /* eslint-disable-line no-console */
130
'[vue3-carousel warn]: preventExcessiveDragging cannot be used with wrapAround. ' +
131
'The preventExcessiveDragging setting will be ignored.'
132
);
0 commit comments