iOS: implement NestedSlider slidePosition

This commit is contained in:
pengfei.zhou
2023-04-04 20:28:31 +08:00
committed by osborn
parent 18d5050c7a
commit 91d5d016f9
13 changed files with 64 additions and 12 deletions

View File

@@ -37,9 +37,10 @@ export class SliderInListDemo extends Panel {
(
<ListItem layoutConfig={layoutConfig().mostWidth().fitHeight()}>
<Slider
layoutConfig={layoutConfig().mostWidth().justHeight()}
height={50}
backgroundColor={Color.RED}
layoutConfig={layoutConfig()
.mostWidth()
.fitHeight()
.configMinHeight(1)}
itemCount={imageUrls.length}
onPageSlided={function (idx) {
const sliderView = this as unknown as Slider;