HarmonyOS ArkUIにおけるSwiperコンポーネントの実装テクニック

ループ再生機能の実装 Swiperコンポーネントで無限ループを実現するには、continuousプロパティを有効化します。 @Entry @Component struct CarouselExample { private carouselController: CarouselController = new CarouselController() build() { Swiper(this.carouselController) { Text("A") .size('100%') .bgC ...

6月18日 18:39 投稿