import { AfterViewInit, ElementRef, OnDestroy, QueryList } from '@angular/core'; import { GraphComponent } from '../../graph/graph'; import { Container } from '../container'; export declare class CarouselComponent extends Container implements AfterViewInit, OnDestroy { private _elementRef; private _isHorizontal; private _backfaceInvisible; private _autoplay; private _interval; private _intervalHandle; private _initialized; private _carousel; private _length; private _totalPanelCount; private _currentIndex; private _changesSubscription; graphs: QueryList; horizontal: boolean; autoplay: boolean; interval: number; _hidden: boolean; hidden: boolean; backfaceInvisible: boolean; constructor(_elementRef: ElementRef); start(): void; /** * 停止轮播 */ stop(): void; resize(): void; previous(): void; next(): void; stepBy(increment: number): void; stepTo(index: number): void; ngAfterViewInit(): void; private _init; private _hackAutoplay; private readonly _size; private readonly _rotateFn; private readonly _theta; /** * do some trig to figure out how big the carousel is in 3D space * @returns {number} */ private readonly _radius; /** * 根据当前索引,旋转轮播组件 * @private */ private _rotateCarousel; /** * 初始化或重置轮播的设置 * 该方法调用的前提是已经初始化 * @private */ private _changeCarousel; }