/ohos5.0/docs/zh-cn/application-dev/quick-start/ |
H A D | arkts-new-rendering-control-repeat.md | 1 # Repeat:子组件复用 21 - 在容器组件内使用Repeat的时候,只能包含一个Repeat。以List为例,同时包含ListItem、ForEach、LazyForEach的场景是不推荐的;同时包含多个Repeat也是不推荐… 45  69  73  79  83  87  91  574  [all …]
|
H A D | arkts-mvvm-V2.md | 170 ### 添加Repeat,实现子组件复用 172 添加了任务增删功能后,随着任务列表项的增加,需要一种高效渲染多个结构相同的子组件的方法,以提高界面的性能表现。为此,引入了Repeat方法,用于优化任务列表的渲染过程。Repeat支持两种模式:vi… 174 在本例中,任务量较少,选择了non-virtualScroll模式。新建了一个任务数组tasks,并使用Repeat方法迭代数组中的每一项,动态生成并复用TaskItem组件。在任务增删时,这种方式… 208 Repeat<string>(this.tasks) 290 Repeat<Task>(this.tasks) 387 Repeat<Task>(this.tasks) 490 Repeat<Task>(this.tasks.filter(task => this.setting.showCompletedTask || !task.isFinish)) 663 … Repeat<Task>(this.taskList.tasks.filter(task => this.setting.showCompletedTask || !task.isFinish)) 824 … Repeat<Task>(this.taskList.tasks.filter(task => this.setting.showCompletedTask || !task.isFinish)) 1078 …Repeat<TaskViewModel>(this.taskList.tasks.filter(task => this.setting.showCompletedTask || !task.i…
|
H A D | arkts-custom-components-freezeV2.md | 440 // 使用Repeat重复渲染TabContent组件 441 Repeat<number>(this.data)
|
H A D | Readme-CN.md | 106 - [Repeat:子组件复用](arkts-new-rendering-control-repeat.md)
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-rendering-control-repeat.md | 1 # Repeat chapter 11 Repeat: \<T\>(arr: Array\<T\>) 13 Repeat组件non-virtualScroll场景(不开启virtualScroll开关)中,Repeat基于数据源进行循环渲染,需要与容器组件配合使用,且接口返回的组件应当是允许包含在Repe… 15 Repeat组件virtualScroll场景中,Repeat将从提供的数据源中按需迭代数据,并在每次迭代过程中创建相应的组件,必须与滚动类容器组件配合使用。当在滚动类容器组件中使用了Repeat,… 32 Repeat<string>(this.arr) 69 Repeat<string>(this.arr) 96 Repeat<string>(this.arr) 105 `Repeat`开启虚拟滚动。 122 Repeat<string>(this.arr) 152 Repeat<string>(this.arr) [all …]
|
H A D | ts-universal-attributes-border-image.md | 48 | Repeat | 被切割图片重复铺平在图片边框上,超出的部分会被剪裁。 | 101 …@State RepeatValue: RepeatMode[] = [RepeatMode.Repeat, RepeatMode.Stretch, RepeatMode.Round, Repea… 103 @State SelectText: string = 'Repeat' 162 … Select([{ value: 'Repeat' }, { value: 'Stretch' }, { value: 'Round' }, { value: 'Space' }]) 206 …@State RepeatValue: RepeatMode[] = [RepeatMode.Repeat, RepeatMode.Stretch, RepeatMode.Round, Repea… 208 @State SelectText: string = 'Repeat' 320 … Select([{ value: 'Repeat' }, { value: 'Stretch' }, { value: 'Round' }, { value: 'Space' }])
|
H A D | ts-universal-attributes-gradient-color.md | 96 Text('linearGradient Repeat').fontSize(12).width('90%').fontColor(0xCCCCCC) 176 Text('radialGradient Repeat').fontSize(12).width('90%').fontColor(0xCCCCCC)
|
H A D | ts-basic-components-imageanimator.md | 291 console.info('Repeat') 363 console.info('Repeat')
|
H A D | ts-container-grid.md | 12 …zyForEach](../../../quick-start/arkts-rendering-control-lazyforeach.md)和[Repeat](../../../quick-st… 22 > ForEach/LazyForEach和Repeat语句中,会计算展开所有子节点索引值。 24 …zyForEach](../../../quick-start/arkts-rendering-control-lazyforeach.md)和[Repeat](../../../quick-st… 243 …/quick-start/arkts-rendering-control-lazyforeach.md)和开启了virtualScroll开关的[Repeat](../../../quick-st… 247 …/quick-start/arkts-rendering-control-lazyforeach.md)和开启了virtualScroll开关的[Repeat](../../../quick-st…
|
H A D | ts-container-list.md | 30 …zyForEach](../../../quick-start/arkts-rendering-control-lazyforeach.md)和[Repeat](../../../quick-st… 40 > ForEach/LazyForEach/Repeat语句中,会计算展开所有子节点索引值。 42 …zyForEach](../../../quick-start/arkts-rendering-control-lazyforeach.md)和[Repeat](../../../quick-st…
|
/ohos5.0/docs/en/application-dev/quick-start/ |
H A D | arkts-new-rendering-control-repeat.md | 45  69  73  79  83  87  91  574  679  807  [all …]
|
H A D | arkts-mvvm-V2.md | 170 ### Adding Repeat to Implement Child Component Reuse 172 …ce of the UI. Therefore, the **Repeat** method is introduced to optimize the rendering process of … 174 …selected because of few task items. Create an array **tasks**, use the **Repeat** method to iterat… 208 Repeat<string>(this.tasks) 290 Repeat<Task>(this.tasks) 387 Repeat<Task>(this.tasks) 490 Repeat<Task>(this.tasks.filter(task => this.setting.showCompletedTask || !task.isFinish)) 663 … Repeat<Task>(this.taskList.tasks.filter(task => this.setting.showCompletedTask || !task.isFinish)) 824 … Repeat<Task>(this.taskList.tasks.filter(task => this.setting.showCompletedTask || !task.isFinish)) 1078 …Repeat<TaskViewModel>(this.taskList.tasks.filter(task => this.setting.showCompletedTask || !task.i…
|
H A D | arkts-custom-components-freezeV2.md | 439 // Use Repeat to repeatedly render the TabContent component. 440 Repeat<number>(this.data)
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-rendering-control-repeat.md | 1 # Repeat chapter 3 …Repeat** component, which is used together with the container component, performs loop rendering b… 5 …ed, **Repeat** iterates data from the provided data source as required and creates the correspondi… 27 | [RepeatAttribute](#repeatattribute)\<T\> | Repeat attributes.| 52 | repeatItem | [RepeatItem](#repeatitem)\<T\> | Yes| Repeat items.| 77 Enables virtual scrolling for the **Repeat** component. 188 …Repeat** cache pool. This parameter takes effect only when **virtualScroll** is enabled.<br>When *…
|
H A D | ts-universal-attributes-border-image.md | 37 | repeat | [RepeatMode](#repeatmode) | No| Repeat mode of the source ima… 48 | Repeat | The source image's slices are tiled. Tiles beyond the border box will be clipped. … 98 …@State RepeatValue: RepeatMode[] = [RepeatMode.Repeat, RepeatMode.Stretch, RepeatMode.Round, Repea… 100 @State SelectText: string = 'Repeat' 159 … Select([{ value: 'Repeat' }, { value: 'Stretch' }, { value: 'Round' }, { value: 'Space' }]) 203 …@State RepeatValue: RepeatMode[] = [RepeatMode.Repeat, RepeatMode.Stretch, RepeatMode.Round, Repea… 205 @State SelectText: string = 'Repeat' 317 … Select([{ value: 'Repeat' }, { value: 'Stretch' }, { value: 'Round' }, { value: 'Space' }])
|
H A D | ts-universal-attributes-gradient-color.md | 88 Text('linearGradient Repeat').fontSize(12).width('90%').fontColor(0xCCCCCC) 160 Text('radialGradient Repeat').fontSize(12).width('90%').fontColor(0xCCCCCC)
|
H A D | ts-basic-components-imageanimator.md | 287 console.info('Repeat') 356 console.info('Repeat')
|
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_5.0.0.33/ |
H A D | changelogs-arkui.md | 137 ## cl.arkui.5 Repeat接口RepeatItem参数index可选改为必选 145 为了提升Repeat使用的易用性,在该组件的实现上,进行了优化处理。对其接口RepeatItem所需要的index参数从非必填优化为了必填,这样开发者在使用index参数的时候,无需对index参数… 161 Repeat组件,RepeatItem接口的index参数。 177 Repeat(this.arr) 202 Repeat(this.arr)
|
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_5.0.0.35/ |
H A D | changelogs-arkui.md | 206 ## cl.arkui.5 Repeat设置totalCount属性行为变更 220 变更前:Repeat设置totalCount属性时,如果totalCount小于数据长度,显示的数据个数为数据的长度。 226 变更后:Repeat设置totalCount属性时,如果totalCount小于数据长度,显示的数据个数为totalCount值。 242 Repeat组件。 264 Repeat<string>(this.simpleList)
|
/ohos5.0/foundation/multimedia/av_codec/test/unittest/video_test/video_test/capbilities/data_producer/data_producer_base/ |
H A D | data_producer_base.cpp | 44 if ((frameCount_ >= sampleInfo_->maxFrames || IsEOS()) && !Repeat()) { in ReadSample() 71 bool DataProducerBase::Repeat() in Repeat() function in OHOS::MediaAVCodec::Sample::DataProducerBase
|
H A D | data_producer_base.h | 33 virtual bool Repeat();
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/state_mgmt/src/lib/sdk/ |
H A D | i_repeat.ts | 37 const Repeat: <T>(arr: Array<T>, owningView?: PUV2ViewBase) => RepeatAPI<T> =
|
/ohos5.0/foundation/multimodalinput/input/service/event_handler/include/ |
H A D | event_normalize_handler.h | 49 void Repeat(const std::shared_ptr<KeyEvent> keyEvent);
|
/ohos5.0/docs/en/application-dev/ui/ |
H A D | arkts-graphics-display.md | 401 ### Setting Image Repeat Pattern 419 // Repeat the image along both the horizontal and vertical axes. 427 // Repeat the image only along the vertical axis. 435 // Repeat the image only along the horizontal axis.
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/property/ |
H A D | templates_parser.cpp | 58 struct Repeat { struct 62 using Value = Repeat;
|