Lightning Web コンポーネントでカルーセルを使用する方法。lwc で実装する方法のサンプル例が必要です。
2 に答える
0
lightning-carousel-image に関する公式ドキュメントは次のとおりです。
<lightning-carousel>
<lightning-carousel-image
src="path/to/carousel-01.jpg"
header="First card"
description="First card description"
alternative-text="This is a card"
href="https://www.example.com">
</lightning-carousel-image>
<lightning-carousel-image
src="path/to/carousel-02.jpg"
header="Second card"
description="Second card description"
alternative-text="This is a card"
href="https://www.example.com">
</lightning-carousel-image>
</lightning-carousel>
また、ホワイトリストにも登録してください:)
于 2021-01-03T11:03:33.597 に答える