@fe6/water-pro
Version:
An enterprise-class UI design language and Vue-based implementation
52 lines (50 loc) • 1.75 kB
text/typescript
import PropTypes from '../_util/vue-types';
import { tuple } from '../_util/type';
// Carousel
export const CarouselProps = {
effect: PropTypes.oneOf(tuple('scrollx', 'fade')),
dots: PropTypes.looseBool.def(true),
vertical: PropTypes.looseBool,
autoplay: PropTypes.looseBool,
easing: PropTypes.string,
beforeChange: PropTypes.func,
afterChange: PropTypes.func,
// style: PropTypes.React.CSSProperties,
preivewPageable: PropTypes.looseBool,
preivewable: PropTypes.looseBool.def(true),
prefixCls: PropTypes.string,
accessibility: PropTypes.looseBool,
nextArrow: PropTypes.VNodeChild,
prevArrow: PropTypes.VNodeChild,
pauseOnHover: PropTypes.looseBool,
// className: PropTypes.string,
adaptiveHeight: PropTypes.looseBool,
arrows: PropTypes.looseBool.def(false),
autoplaySpeed: PropTypes.number,
centerMode: PropTypes.looseBool,
centerPadding: PropTypes.string,
cssEase: PropTypes.string,
dotsClass: PropTypes.string,
draggable: PropTypes.looseBool.def(false),
fade: PropTypes.looseBool,
focusOnSelect: PropTypes.looseBool,
infinite: PropTypes.looseBool,
initialSlide: PropTypes.number,
lazyLoad: PropTypes.looseBool,
rtl: PropTypes.looseBool,
slide: PropTypes.string,
slidesToShow: PropTypes.number,
slidesToScroll: PropTypes.number,
speed: PropTypes.number,
swipe: PropTypes.looseBool,
swipeToSlide: PropTypes.looseBool,
touchMove: PropTypes.looseBool,
touchThreshold: PropTypes.number,
variableWidth: PropTypes.looseBool,
useCSS: PropTypes.looseBool,
slickGoTo: PropTypes.number,
responsive: PropTypes.array,
imgList: PropTypes.array,
dotPosition: PropTypes.oneOf(tuple('top', 'bottom', 'left', 'right')),
verticalSwiping: PropTypes.looseBool.def(false),
};