UNPKG

@syncfusion/ej2-angular-navigations

Version:

A package of Essential JS 2 navigation components such as Tree-view, Tab, Toolbar, Context-menu, and Accordion which is used to navigate from one page to another for Angular

82 lines (81 loc) 3.9 kB
import { ElementRef, ViewContainerRef, QueryList, Renderer2, Injector } from '@angular/core'; import { IComponentBase } from '@syncfusion/ej2-angular-base'; import { Carousel } from '@syncfusion/ej2-navigations'; import { CarouselItemsDirective } from './items.directive'; import * as i0 from "@angular/core"; export declare const inputs: string[]; export declare const outputs: string[]; export declare const twoWays: string[]; /** * Represents the EJ2 Angular Carousel Component. * ```html * <ejs-carousel [items]='carouselItems'></ejs-carousel> * ``` */ export declare class CarouselComponent extends Carousel implements IComponentBase { private ngEle; private srenderer; private viewContainerRef; private injector; context: any; tagObjects: any; slideChanged: any; slideChanging: any; selectedIndexChange: any; childItems: QueryList<CarouselItemsDirective>; tags: string[]; /** * Accepts the template for indicator buttons. * @default null * @angulartype string | object * @reacttype string | function | JSX.Element * @vuetype string | function * @asptype string */ indicatorsTemplate: any; /** * Accepts the template for next navigation button. * @default null * @angulartype string | object * @reacttype string | function | JSX.Element * @vuetype string | function * @asptype string */ nextButtonTemplate: any; /** * Accepts the template for previous navigation button. * @default null * @angulartype string | object * @reacttype string | function | JSX.Element * @vuetype string | function * @asptype string */ previousButtonTemplate: any; /** * Accepts the template for play/pause button. * @default null * @angulartype string | object * @reacttype string | function | JSX.Element * @vuetype string | function * @asptype string */ playButtonTemplate: any; /** * Specifies the template option for carousel items. * @default null * @angulartype string | object * @reacttype string | function | JSX.Element * @vuetype string | function * @asptype string */ itemTemplate: any; constructor(ngEle: ElementRef, srenderer: Renderer2, viewContainerRef: ViewContainerRef, injector: Injector); ngOnInit(): void; ngAfterViewInit(): void; ngOnDestroy(): void; ngAfterContentChecked(): void; registerEvents: (eventList: string[]) => void; addTwoWay: (propList: string[]) => void; static ɵfac: i0.ɵɵFactoryDeclaration<CarouselComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<CarouselComponent, "ejs-carousel", never, { "allowKeyboardInteraction": "allowKeyboardInteraction"; "animationEffect": "animationEffect"; "autoPlay": "autoPlay"; "buttonsVisibility": "buttonsVisibility"; "cssClass": "cssClass"; "dataSource": "dataSource"; "enablePersistence": "enablePersistence"; "enableRtl": "enableRtl"; "enableTouchSwipe": "enableTouchSwipe"; "height": "height"; "htmlAttributes": "htmlAttributes"; "indicatorsTemplate": "indicatorsTemplate"; "indicatorsType": "indicatorsType"; "interval": "interval"; "itemTemplate": "itemTemplate"; "items": "items"; "locale": "locale"; "loop": "loop"; "nextButtonTemplate": "nextButtonTemplate"; "partialVisible": "partialVisible"; "pauseOnHover": "pauseOnHover"; "playButtonTemplate": "playButtonTemplate"; "previousButtonTemplate": "previousButtonTemplate"; "selectedIndex": "selectedIndex"; "showIndicators": "showIndicators"; "showPlayButton": "showPlayButton"; "swipeMode": "swipeMode"; "width": "width"; }, { "slideChanged": "slideChanged"; "slideChanging": "slideChanging"; "selectedIndexChange": "selectedIndexChange"; }, ["indicatorsTemplate", "nextButtonTemplate", "previousButtonTemplate", "playButtonTemplate", "itemTemplate", "childItems"], never>; }