Class IgxSlideComponent

A slide component that usually holds an image and/or a caption text. IgxSlideComponent is usually a child component of an IgxCarouselComponent.

<igx-slide [input bindings] >
<ng-content></ng-content>
</igx-slide>

Export

Implements

  • AfterContentChecked
  • OnDestroy
  • IgxSlideComponentBase

Constructors

Properties

cssClass: string = 'igx-slide'

Returns the class of the slide component.

let class =  this.slide.cssClass;

Memberof

IgxSlideComponent

direction: Direction

Gets/sets the target direction for the slide.

<igx-carousel>
<igx-slide direction="NEXT"></igx-slide>
<igx-carousel>

Member Of

IgxSlideComponent

index: number

Gets/sets the index of the slide inside the carousel.

<igx-carousel>
<igx-slide index="1"></igx-slide>
<igx-carousel>

Member Of

IgxSlideComponent

previous: boolean = false
tab: string = 'tabpanel'

Returns the role of the slide component. By default is set to tabpanel

Memberof

IgxSlideComponent

total: number

Accessors

Methods