carousel.d.ts 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. import { ElementRef, AfterContentInit, TemplateRef, QueryList, NgZone, EventEmitter } from '@angular/core';
  2. export declare class Carousel implements AfterContentInit {
  3. el: ElementRef;
  4. zone: NgZone;
  5. page: number;
  6. numVisible: number;
  7. numScroll: number;
  8. responsiveOptions: any[];
  9. orientation: string;
  10. verticalViewPortHeight: string;
  11. contentClass: String;
  12. dotsContainerClass: String;
  13. value: any[];
  14. circular: boolean;
  15. autoplayInterval: number;
  16. style: any;
  17. styleClass: string;
  18. onPage: EventEmitter<any>;
  19. itemsContainer: ElementRef;
  20. headerFacet: any;
  21. footerFacet: any;
  22. templates: QueryList<any>;
  23. _numVisible: number;
  24. _numScroll: number;
  25. _oldNumScroll: number;
  26. prevState: any;
  27. defaultNumScroll: number;
  28. defaultNumVisible: number;
  29. _page: number;
  30. _value: any[];
  31. carouselStyle: any;
  32. id: string;
  33. totalShiftedItems: any;
  34. isRemainingItemsAdded: boolean;
  35. animationTimeout: any;
  36. translateTimeout: any;
  37. remainingItems: number;
  38. _items: any[];
  39. startPos: any;
  40. documentResizeListener: any;
  41. clonedItemsForStarting: any[];
  42. clonedItemsForFinishing: any[];
  43. allowAutoplay: boolean;
  44. interval: any;
  45. isCreated: boolean;
  46. itemTemplate: TemplateRef<any>;
  47. constructor(el: ElementRef, zone: NgZone);
  48. ngAfterContentInit(): void;
  49. ngAfterContentChecked(): void;
  50. createStyle(): void;
  51. calculatePosition(): void;
  52. setCloneItems(): void;
  53. firstIndex(): number;
  54. lastIndex(): number;
  55. totalDots(): number;
  56. totalDotsArray(): any[];
  57. containerClass(): {
  58. 'ui-carousel ui-widget': boolean;
  59. 'ui-carousel-vertical': boolean;
  60. 'ui-carousel-horizontal': boolean;
  61. };
  62. contentClasses(): string;
  63. dotsContentClasses(): string;
  64. isVertical(): boolean;
  65. isCircular(): boolean;
  66. isAutoplay(): boolean;
  67. navForward(e: any, index?: any): void;
  68. navBackward(e: any, index?: any): void;
  69. onDotClick(e: any, index: any): void;
  70. step(dir: any, page: any): void;
  71. startAutoplay(): void;
  72. stopAutoplay(): void;
  73. onTransitionEnd(): void;
  74. onTouchStart(e: any): void;
  75. onTouchMove(e: any): void;
  76. onTouchEnd(e: any): void;
  77. changePageOnTouch(e: any, diff: any): void;
  78. bindDocumentListeners(): void;
  79. unbindDocumentListeners(): void;
  80. ngOnDestroy(): void;
  81. }
  82. export declare class CarouselModule {
  83. }