Class IgxSlideComponent

画像またはキャプション テキストを含むスライド コンポーネント。 IgxSlideComponent は通常 IgxCarouselComponent の子コンポーネントです。

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

エクスポート

実装

  • AfterContentChecked
  • OnDestroy
  • IgxSlideComponentBase

コンストラクター

プロパティ

アクセサー

メソッド

コンストラクター

プロパティ

cssClass: string = 'igx-slide'

スライド コンポーネントのクラスを返します。

let class =  this.slide.cssClass;

次のメンバー

IgxSlideComponent

direction: Direction

スライドの対象 direction を取得または設定します。

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

次のメンバー

IgxSlideComponent

index: number

カルーセル内のスライドの index を取得または設定します。

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

次のメンバー

IgxSlideComponent

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

スライド コンポーネントの role を返します。 デフォルトの設定は tabpanel です。

次のメンバー

IgxSlideComponent

total: number

アクセサー

メソッド