/ohos5.0/docs/zh-cn/application-dev/quick-start/ |
H A D | arkts-new-Provider-and-Consumer.md | 78 struct Child { 106 struct Child { 149 Child() 155 struct Child { 190 Child() 196 struct Child { 230 Child() 236 struct Child { 275 Child() 293 struct Child { [all …]
|
H A D | arkts-page-custom-components-lifecycle.md | 124 // this.showChild为true,创建Child子组件,执行Child aboutToAppear 126 Child() 128 // this.showChild为false,删除Child子组件,执行Child aboutToDisappear 129 Button('delete Child') 145 struct Child { 149 console.info('[lifeCycle] Child aboutToDisappear'); 154 console.info('[lifeCycle] Child onDidBuild'); 159 console.info('[lifeCycle] Child aboutToAppear'); 216 …omponent build --> MyComponent onDidBuild--> Child aboutToAppear --> Child build --> C… 218 - 点击“delete Child”,if绑定的this.showChild变成false,删除Child组件,会执行Child aboutToDisappear方法。 [all …]
|
H A D | arkts-new-monitor.md | 693 struct Child { 708 Text("Child") 731 Button("show/hide Child") 740 Child({ info: this.info }) 751 …Child”,创建Child组件,在Child组件初始化\@Param装饰的变量以及\@Monitor之后,调用Child组件的aboutToAppear回调,改变message。此时Index组… 752 …Child”,改变message。此时Index组件与Child组件的\@Monitor均能监听到变化,日志输出`Index message change from Child aboutToAp… 753 …Child“,销毁Child组件,调用Child组件的aboutToDisappear回调,改变message。此时Index组件与Child组件的\@Monitor均能监听到变化,日志输出`Ch… 756 这表明Child组件中定义的\@Monitor监听随着Child组件的创建初始化生效,随着Child组件的销毁失效。 825 struct Child { 896 struct Child { [all …]
|
H A D | arkts-link.md | 160 struct Child { 191 struct Child { 224 struct Child { 256 struct Child { 386 struct Child { 450 struct Child { 507 struct Child { 578 struct Child { 605 struct Child { 775 struct Child { [all …]
|
H A D | arkts-localBuilder.md | 150 组件Child将@State修饰的label值按照函数传参方式传递到Parent的@Builder和@LocalBuilder函数内,在被@Builder修饰的函数内,this指向Child,参数变… 173 Child({contentBuilder: this.componentBuilder }); 179 struct Child { 197 组件Child将@Link引用Parent的@State修饰的label值按照函数传参方式传递到Parent的@Builder和@LocalBuilder函数内,在被@Builder修饰的函数内,t… 219 Child({contentBuilder: this.componentBuilder,layoutSize:this.layoutSize}); 225 struct Child { 273 函数componentBuilder被@Builder修饰时,显示效果是 “Child”,函数componentBuilder被@LocalBuilder修饰时,显示效果是“Parent”。 277 …ilder()通过this.componentBuilder的形式传给子组件@BuilderParam customBuilderParam,this指向在Child的label,即“Child”。 283 struct Child { 284 label: string = `Child`; [all …]
|
H A D | arkts-builderparam.md | 29 struct Child { 43 struct Child { 79 struct Child { 80 label: string = `Child`; 107 Child({ 108 …// 把this.componentBuilder传给子组件Child的@BuilderParam customBuilderParam,this指向的是子组件Child,即label变量的值为"… 150 struct Child { 151 label: string = 'Child'; 324 label: string = `Child Page`; 397 @Param label: string = `Child Page`; [all …]
|
H A D | arkts-observed-and-objectlink.md | 81 class Child { 141 struct Child { 267 struct Child { 308 struct Child { 532 struct Child { 957 struct Child { 1104 class Child { 1180 …- 构造一个子组件,用于单独渲染Child的实例。 该子组件可以使用\@ObjectLink child : Child或\@Prop child : Child。通常会使用\@ObjectLin… 1206 class Child { 1922 Child({ [all …]
|
H A D | arkts-provide-and-consume.md | 109 struct Child { 154 Child() 202 struct Child { 230 struct Child { 248 Child() 272 struct Child { 291 Child() 301 struct Child { 320 Child() 525 Child() [all …]
|
H A D | properly-use-state-management-to-develope.md | 766 class Child { 782 let tempList = [new Child(1), new Child(2), new Child(3), new Child(4), new Child(5)]; 793 @ObjectLink child: Child; 887 …@State childList: ChildList = [new Child(1), new Child(2), new Child(3), new Child(4),new Child(5)… 908 let tempList = [new Child(1), new Child(2), new Child(3), new Child(4), new Child(5)]; 918 @State childList: ChildList = [new Child(1), new Child(2), new Child(3), new Child(4),new Child(5)]; 928 class Child { 946 tempList.push(new Child(i)); 958 @ObjectLink child: Child; 1052 …@State childList: ChildList = [new Child(1), new Child(2), new Child(3), new Child(4),new Child(5)… [all …]
|
H A D | arkts-prop.md | 284 struct Child { 312 Child({ value: item }) 366 - 因为this.arr[0]已更改,Child({value: this.arr[0]})组件将this.arr[0]更新同步到实例\@Prop装饰的变量。Child({value: this.a… 713 struct Child { 746 struct Child { 803 struct Child { 861 struct Child { 893 Child({animal: this.animal}) 1051 Child({ score: this.score }) 1059 struct Child { [all …]
|
H A D | arkts-new-event.md | 66 Child({ 84 struct Child { 110 struct Child { 116 Text(`Child index: ${this.index}`) 131 Child({
|
H A D | arkts-v1-v2-migration.md | 59 struct Child { 72 struct Child { 87 class Child { 94 @State child: Child = new Child(); 112 class Child { 119 @Local child: Child = new Child(); 141 struct Child { 164 struct Child { 194 struct Child { 937 Child() [all …]
|
H A D | arkts-new-param.md | 60 Child({ 71 struct Child { 131 Child({ 140 struct Child { 192 Child({ 200 struct Child { 241 Child({ 249 struct Child { 323 struct Child { 576 struct Child { [all …]
|
H A D | arkts-custom-component-mixed-scenarios.md | 71 struct Child { 101 Child({ 122 struct Child { 164 Child({ 184 struct Child { 211 Child({ 412 Child() 456 Child() 543 Child({ 634 Child({ [all …]
|
H A D | arkts-require.md | 28 当Child组件内使用\@Require装饰器和\@Prop、\@State、\@Provide、\@BuilderParam和普通变量(无状态装饰器修饰的变量)结合使用时,父组件Index在构造C… 45 …Child({ regular_value: this.message, state_value: this.message, provide_value: this.message, initM… 52 struct Child { 167 Child() 173 struct Child {
|
H A D | arkts-localstorage.md | 248 struct Child { 289 Child() 322 Child() 328 struct Child { 390 Child自定义组件中的变化: 399 struct Child { 445 Child({ label: 'ChildA' }) 627 struct Child { 663 Child(localStorage2) 673 struct Child { [all …]
|
/ohos5.0/drivers/hdf_core/framework/tools/hc-gen/src/ |
H A D | startup_cfg_gen.cpp | 269 std::shared_ptr<AstObject> arrayObj = term->Child(); in GetConfigArray() 276 std::shared_ptr<AstObject> object = arrayObj->Child(); in GetConfigArray() 297 std::shared_ptr<AstObject> intArrayObj = term->Child(); in GetConfigIntArray() 304 std::shared_ptr<AstObject> object = intArrayObj->Child(); in GetConfigIntArray() 324 std::shared_ptr<AstObject> arrayObj = term->Child(); in GetConfigVector() 330 std::shared_ptr<AstObject> object = arrayObj->Child(); in GetConfigVector() 377 std::shared_ptr<AstObject> devInfo = hostInfo->Child(); in GetHostLoadMode() 384 devNodeInfo = devInfo->Child(); in GetHostLoadMode() 392 preload = current->Child()->IntegerValue(); in GetHostLoadMode() 435 std::shared_ptr<AstObject> hostInfo = deviceInfo->Child(); in GetHostInfo() [all …]
|
H A D | decompile_gen.cpp | 47 while (astObject->Child() != nullptr) { in GetNodeRefPath() 49 auto child = astObject->Child(); in GetNodeRefPath() 77 auto arrayElement = astObj->Child(); in PrintArrayType() 140 if (astObj->Child() == nullptr) { in OutPutWalk() 148 int32_t ret = PrintBaseType(astObj->Child()); in OutPutWalk()
|
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/process/sys/unix/ |
H A D | child.rs | 19 use std::process::{Child as StdChild, ExitStatus, Stdio}; 28 pub(crate) struct Child { struct 33 impl Child { implementation 35 Ok(Child { in new() 57 impl fmt::Debug for Child { implementation 63 impl Future for Child { implementation 81 impl Drop for Child { implementation
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-custom-component-lifecycle.md | 149 Child({ message: new Message('Child') }) 159 struct Child { 163 console.info("Recycle Child") 212 Child({ message: new Message('Child') }) 222 struct Child { 226 console.info("Reuse Child"); 232 console.info("Recycle Child,child进入复用池中");
|
/ohos5.0/docs/en/application-dev/quick-start/ |
H A D | arkts-builderparam.md | 27 struct Child { 42 struct Child { 79 struct Child { 80 label: string = `Child`; 107 Child({ 129 struct Child { 154 Child() 156 Child({ content: this.test }) 185 struct Child { 186 label: string = 'Child'; [all …]
|
H A D | arkts-new-monitor.md | 690 struct Child { 700 console.log("Child aboutToDisappear"); 705 Text("Child") 706 Button("change message in Child") 728 Button("show/hide Child") 737 Child({ info: this.info }) 749 …Child** button to change the message. In this case, the \@Monitor of the **Index** and **Child** c… 750 …Child** button to destroy the **Child** component and call the **aboutToDisappear** callback to ch… 822 struct Child { 893 struct Child { [all …]
|
H A D | arkts-page-custom-components-lifecycle.md | 128 … // When this.showChild is true, create the Child child component and invoke Child aboutToAppear. 130 Child() 132 …// When this.showChild is false, delete the Child child component and invoke Child aboutToDisappea… 133 Button('delete Child') 149 struct Child { 153 console.info('[lifeCycle] Child aboutToDisappear'); 158 console.info('[lifeCycle] Child onDidBuild'); 163 console.info('[lifeCycle] Child aboutToAppear'); 220 …pear -> MyComponent build -> MyComponent onDidBuild -> Child aboutToAppear -> Child build -> Child… 222 …Child** is clicked, the value of **this.showChild** linked to **if** changes to **false**. As a re… [all …]
|
H A D | arkts-new-Provider-and-Consumer.md | 75 struct Child { 89 @ComponentV2 struct Child { 103 struct Child { 146 Child() 152 struct Child { 187 Child() 193 struct Child { 227 Child() 233 struct Child { 272 Child() [all …]
|
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/process/ |
H A D | child.rs | 19 use std::process::{Child as StdChild, ExitStatus, Output}; 27 Pending(super::sys::Child), 33 pub struct Child { struct 45 impl Child { implementation 54 state: ChildState::Pending(super::sys::Child::new(child)?), in new() 313 impl Drop for Child { implementation 443 use crate::process::{Child, ChildStderr, ChildStdin, ChildStdout, Command}; 457 let mut child = Child::new(std_child, false, None, None, None).unwrap(); in ut_process_child_new_test() 480 let mut child = Child::new(std_child, false, None, None, None).unwrap(); in ut_process_try_wait_test()
|