/ohos5.0/foundation/filemanagement/user_file_service/interfaces/kits/picker/ |
H A D | picker.js | 17 let gContext = undefined; 200 error: undefined, 201 data: undefined, 267 return undefined; 323 data: undefined 325 if (args === undefined || args.resultCode === undefined) { 424 data: undefined 426 if (args === undefined || args.resultCode === undefined) { 456 if (args === undefined || args.resultCode === undefined) { 577 return undefined; [all …]
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-uicommonevent.md | 8 用于设置基础事件回调。方法入参为undefined的时候,重置对应的事件回调。 11 setOnClick(callback: Callback\<ClickEvent> | undefined): void 27 setOnTouch(callback: Callback\<TouchEvent> | undefined): void 44 setOnAppear(callback: Callback\<void> | undefined): void 61 setOnDisappear(callback: Callback\<void> | undefined): void 77 setOnKeyEvent(callback: Callback\<KeyEvent> | undefined): void 93 setOnFocus(callback: Callback\<void> | undefined): void 109 setOnBlur(callback: Callback\<void> | undefined): void 125 setOnHover(callback: HoverCallback | undefined): void 141 setOnMouse(callback: Callback\<MouseEvent> | undefined): void [all …]
|
H A D | ohos-arkui-advanced-MultiNavigation.md | 189 pop(animated?: boolean): NavPathInfo | undefined 211 pop(result: Object, animated?: boolean): NavPathInfo | undefined 384 getParamByIndex(index: number): Object | undefined 399 | undefined | 传入index无效是返回undefined。| 674 if (this.pageStack !== undefined && this.pageStack !== null) { 684 if (this.pageStack !== undefined && this.pageStack !== null) { 694 if (this.pageStack !== undefined && this.pageStack !== null) { 716 if (this.pageStack !== undefined && this.pageStack !== null) { 726 if (this.pageStack !== undefined && this.pageStack !== null) { 735 if (this.pageStack !== undefined && this.pageStack !== null) { [all …]
|
/ohos5.0/foundation/distributeddatamgr/data_object/frameworks/jskitsimpl/test/unittest/src/ |
H A D | ObjectStoreJsunit.test.js | 67 var tokenID = undefined; 453 …ct = distributedObject.createDistributedObject({ name: undefined, age: undefined, isVis: undefined… 573 name: undefined, 574 age: undefined, 575 parent: undefined, 576 list: undefined 638 name: undefined, 639 age: undefined, 640 parent: undefined, 641 list: undefined [all …]
|
H A D | ObjectStoreJsunitV9.test.js | 47 var tokenID = undefined; 520 g_object.name = undefined; 521 g_object.age = undefined; 522 g_object.isVis = undefined; 562 g_object.name = undefined; 563 g_object.age = undefined; 564 g_object.isVis = undefined; 710 g_object.name = undefined; 711 g_object.age = undefined; 712 g_object.isVis = undefined; [all …]
|
/ohos5.0/docs/zh-cn/application-dev/quick-start/ |
H A D | arkts-migration-background.md | 18 name: string // undefined 25 // 开发者使用"string"作为返回类型,这隐藏了name可能为"undefined"的事实。 33 buddy.getName().length; // 运行时异常:name is undefined 46 // 类型为"string",不可能为"null"或者"undefined" 57 如果`name`可以是`undefined`,那么它的类型应该在代码中被精确地标注。 61 name?: string // 可能为undefined 80 // 编译时错误:编译器认为下一行代码有可能访问"undefined"的属性,报错 108 if (s === undefined) 109 return 'undefined' 126 notify(null, undefined) // 编译时错误 [all …]
|
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/dialog/interfaces/ |
H A D | dialog.js | 85 this.controller = undefined; 91 this.checkAction = undefined; 92 this.onCheckedChange = undefined; 97 this.buttons = undefined; 817 this.controller = undefined; 1500 this.controller = undefined; 1518 this.buttons = undefined; 1935 this.buttons = undefined; 2209 this.buttons = undefined; 2499 this.buttons = undefined; [all …]
|
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_4.0.10.1/ |
H A D | changelog-ArkUI.md | 3 ## cl.arkui.1 状态变量支持undefined和null 7 API version 9:状态变量不支持undefined和null,当开发者给状态变量设置undefined或者null时,设置失败,即状态变量还是上一次的值。 9 API version 10:状态变量支持undefined和null,当开发者给状态变量设置undefined和null时,ArkUI框架会接受该值,即下一次读状态变量的是undefined和nu… 13 API version 9,当开发者给状态变量设置undefined时,设置无效,会导致开发者忽略对undefined的校验。 21 // AppStorage里没有对应的key,返回undefined 22 // API version 9:赋值不生效,ArkUI框架会拒绝undefined,this.messages还为其初始值['Hello World'] 23 // API version 10: 赋值生效,ArkUI框架会接受undefined,this.messages为undefined 31 // API version 10:应用crash, Error message: Cannot read property length of undefined 43 对于上述情况,当每一次给状态变量赋值undefined和null时,需要对状态变量是否为undefined做校验。 96 …// validation: 'undefined, null, number, boolean, string, or Object but not function, attempt to a…
|
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/selecttitlebar/interfaces/ |
H A D | selecttitlebar.js | 53 if (w9.selected !== undefined) { 56 if (w9.options !== undefined) { 59 if (w9.menuItems !== undefined) { 62 if (w9.subtitle !== undefined) { 77 if (w9.fontSize !== undefined) { 424 if (l6.item !== undefined) { 427 if (l6.index !== undefined) { 851 if (o2.item !== undefined) { 854 if (o2.index !== undefined) { 1111 this.callbackId = undefined; [all …]
|
/ohos5.0/foundation/distributeddatamgr/kv_store/test/unittest/distributedKVStore/ |
H A D | SingleKvStoreKVCallbackJsTest.js | 125 if (err == undefined) { 150 if (err == undefined) { 367 if (err == undefined) { 545 if (err == undefined) { 665 if (err == undefined) { 1076 if (err = undefined) { 1428 if (err == undefined) { 1453 if (err == undefined) { 1484 if (err == undefined) { 1997 if (err == undefined) { [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/ |
H A D | jsXNode.js | 24 if (uiContext === undefined) { 165 if (entry === undefined) { 481 …undefined ? this.onGetChildId : undefined, this.onCreateChild !== undefined ? this.onCreateNewNode… 557 if (this === undefined) { 583 if (this.onDisposeChild !== undefined && frameNode !== undefined) { 596 if (this.onUpdateChild !== undefined && frameNode !== undefined) { 1130 if (key === undefined) { 1131 return undefined; 1136 value = valueStr === undefined ? undefined : valueStr; 1309 if (this.attribute_.allowChildTypes !== undefined && node !== undefined) { [all …]
|
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/composetitlebar/interfaces/ |
H A D | composetitlebar.js | 36 this.item = undefined; 46 if (n10.item !== undefined) { 49 if (n10.title !== undefined) { 52 if (n10.subtitle !== undefined) { 61 if (n10.fontSize !== undefined) { 405 if (j7.item !== undefined) { 408 if (j7.index !== undefined) { 895 if (v2.item !== undefined) { 898 if (v2.index !== undefined) { 1156 this.callbackId = undefined; [all …]
|
/ohos5.0/foundation/distributeddatamgr/kv_store/test/unittest/distributeddata/ |
H A D | SingleKvStoreDataCallbackJsTest.js | 123 if (err == undefined) { 177 if (err == undefined) { 355 if (err == undefined) { 401 if (err == undefined) { 553 if (err == undefined) { 578 if (err == undefined) { 628 if (err == undefined) { 678 if (err == undefined) { 728 if (err == undefined) { 1447 if (err == undefined) { [all …]
|
H A D | DeviceKvStoreDataCallbackJsTest.js | 158 if (err == undefined) { 212 if (err == undefined) { 390 if (err == undefined) { 436 if (err == undefined) { 588 if (err == undefined) { 613 if (err == undefined) { 663 if (err == undefined) { 713 if (err == undefined) { 763 if (err == undefined) { 1491 if (err == undefined) { [all …]
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/src/manager/ |
H A D | napi_push.cpp | 74 return undefined; in OnRegisterPushCallback() 79 return undefined; in OnRegisterPushCallback() 86 return undefined; in OnRegisterPushCallback() 93 return undefined; in OnRegisterPushCallback() 98 return undefined; in OnRegisterPushCallback() 116 return undefined; in OnRegisterPushCallback() 132 return undefined; in OnUnregisterPushCallback() 140 return undefined; in OnUnregisterPushCallback() 149 return undefined; in OnUnregisterPushCallback() 154 return undefined; in OnUnregisterPushCallback() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/editabletitlebar/interfaces/ |
H A D | editabletitlebar.js | 102 this.imageItem = undefined; 103 this.menuItems = undefined; 108 this.onSave = undefined; 109 this.onCancel = undefined; 129 if (l10.title !== undefined) { 147 if (l10.onSave !== undefined) { 540 this.menuItems = undefined; 541 this.onSave = undefined; 698 this.callbackId = undefined; 746 if (c4.item !== undefined) { [all …]
|
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/tabtitlebar/interfaces/ |
H A D | tabtitlebar.js | 39 this.swiperContent = undefined; 56 if (a14.tabItems !== undefined) { 65 if (a14.tabWidth !== undefined) { 71 if (a14.fontSize !== undefined) { 177 if (d13.icon !== undefined) { 451 if (b9.index !== undefined) { 454 if (b9.item !== undefined) { 842 if (x5.item !== undefined) { 1184 if (k2.item !== undefined) { 1346 this.callbackId = undefined; [all …]
|
/ohos5.0/foundation/multimedia/av_session/avpicker/ |
H A D | avpicker.js | 70 this.onStateChange = undefined; 73 this.customPicker = undefined; 86 if (c11.normalColor !== undefined) { 89 if (c11.activeColor !== undefined) { 92 if (c11.colorMode !== undefined) { 95 if (c11.deviceList !== undefined) { 98 if (c11.sessionType !== undefined) { 101 if (c11.pickerStyle !== undefined) { 107 if (c11.isMenuShow !== undefined) { 113 if (c11.onStateChange !== undefined) { [all …]
|
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/multinavigation/interfaces/ |
H A D | multinavigation.js | 411 this.mode = undefined; 844 return undefined; 852 return undefined; 860 let l5 = undefined; 907 j5 !== undefined && j5.onPop !== undefined) { 954 x4 !== undefined && x4.onPop !== undefined) { 1004 k4 !== undefined && k4.onPop !== undefined) { 1129 let f3 = undefined; 1233 let l2 = undefined; 1387 let p1 = undefined; [all …]
|
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_4.0.10.2/ |
H A D | changelogs-arkui.md | 3 ## cl.arkui.1 List组件滚动条状态设置undefined或非法值处理变更 7 OpenHarmony_4.0.10.1之前,开发者设置scrollBar(undefined), scrollBar('aaa'), scrollBar(-1)会处理成BarState.Off状态… 8 OpenHarmony_4.0.10.2及之后,开发者设置scrollBar(undefined), scrollBar('aaa'), scrollBar(-1)会处理成默认值BarState.A… 12 List组件scrollBar接口设置undefined或非法值的处理方式由BarState.Off变更为BarState.Auto。 14 ## cl.arkui.2 Grid组件滚动条状态设置undefined或非法值处理变更 18 OpenHarmony_4.0.10.1之前,开发者设置scrollBar(undefined), scrollBar('aaa'), scrollBar(-1)会处理成BarState.Off状态… 19 OpenHarmony_4.0.10.2及之后,开发者设置scrollBar(undefined), scrollBar('aaa'), scrollBar(-1)会处理成默认值BarState.A… 23 Grid组件scrollBar接口设置undefined或非法值的处理方式由BarState.Off变更为BarState.Auto。
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkdata/ |
H A D | js-apis-data-DataShareResultSet-sys.md | 30 let dataShareHelper: dataShare.DataShareHelper | undefined = undefined; 34 if (err != undefined) { 44 let resultSet: DataShareResultSet | undefined = undefined; 90 if (resultSet != undefined) { 113 if (resultSet != undefined) { 136 if (resultSet != undefined) { 159 if (resultSet != undefined) { 189 if (resultSet != undefined) { 219 if (resultSet != undefined) { 251 if (resultSet != undefined) { [all …]
|
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/atomicservicetabs/interfaces/ |
H A D | atomicservicetabs.js | 27 this.tabContents = undefined; 34 this.onChange = undefined; 35 this.onTabBarClick = undefined; 36 this.onContentWillChange = undefined; 41 if (l1.tabContents !== undefined) { 44 if (l1.tabBarPosition === undefined) { 50 if (l1.index === undefined) { 53 if (l1.barOverlap === undefined) { 56 if (l1.controller !== undefined) { 59 if (l1.onChange !== undefined) { [all …]
|
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_5.0.0.13/ |
H A D | changelogs-arkui.md | 105 ## cl.arkui.2 AppStorage,LocalStorage,PersistentStorage支持undefined和null 113 …ersistentStorage的API方法支持null和undefined作为入参。@StorageLink,@StorageProp,@LocalStorageLink,@LocalStora… 115 …nk为例,当前应用存在误用null和undefined作为初始值或目标值在AppStorage中保存的情况。在更改前的语义中,null和undefined作为初始值或目标值的调用并不会生效,并给出… 125 AppStorage.has("PropA");// 不支持设置null或undefined,会返回false 148 AppStorage.has("PropA");// 支持设置null或undefined,会返回true 206 1、在初始化值的时候不使用null或者undefined的值来初始化,使用有意义的值来初始化。 208 2、将原有的值改为null或undefined会触发UI刷新。 218 AppStorage.has("PropA"); // 支持设置null或undefined,会返回true 223 @StorageLink('PropA') propA: PropA | null | undefined = new PropA(); 234 Button("Set propA to undefined") [all …]
|
/ohos5.0/docs/zh-cn/application-dev/media/camera/ |
H A D | camera-worker.md | 61 private cameraManager: camera.CameraManager | undefined = undefined; 63 private cameraInput: camera.CameraInput | undefined = undefined; 64 private previewOutput: camera.PreviewOutput | undefined = undefined; 65 private photoOutput: camera.PhotoOutput | undefined = undefined; 66 private session: camera.PhotoSession | camera.VideoSession | undefined = undefined; 83 if (this.cameraInput === undefined) { 144 this.previewOutput = undefined; 145 this.photoOutput = undefined; 146 this.cameraManager = undefined; 147 this.session = undefined; [all …]
|
/ohos5.0/foundation/multimedia/media_library/frameworks/js/src/ |
H A D | photoaccesshelperinf.js | 43 let gContext = undefined; 306 if (((bundleInfo === undefined) || (bundleInfo.name === undefined)) || 311 return undefined; 447 if (context === undefined) { 490 if (helper !== undefined) { 505 if (config === undefined) { 511 if (helper !== undefined) { 562 return undefined; 688 error: undefined, 689 data: undefined, [all …]
|