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

Hierarchy

  • IgxSlideComponent

Implements

  • OnInit
  • OnDestroy

Constructors

Properties

Constructors

constructor

Properties

active

active: boolean

Gets/sets the active state of the slide.

<igx-carousel>
 <igx-slide [active] ="false"</igx-slide>
<igx-carousel>
memberof

IgxSlideComponent

direction

direction: Direction

Gets/sets the target direction for the slide.

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

IgxSlideComponent

index

index: number

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

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

IgxSlideComponent