import Base from './base' class Carousel extends Base { constructor (attr) { super(attr) this.banners = attr.banners || [] this.fixedPosition = attr.fixedPosition || false this.closeBtn = attr.closeBtn || false this.connectMove = attr.connectMove || false this.indicatorPoint = attr.indicatorPoint || false this.indicatorPointActive = attr.indicatorPointActive || false this.indicatorPointActiveColor = attr.indicatorPointActiveColor || null this.indicatorPointDefault = attr.indicatorPointDefault || false this.indicatorPointDefaultColor = attr.indicatorPointDefaultColor || null this.switch = attr.switch || false this.isSwitchTime = attr.switch || false this.switchTime = attr.switchTime || null this.isSwitchAnimationTime = attr.isSwitchAnimationTime || null this.switchAnimationTime = attr.switchAnimationTime || null } } export default Carousel