已合并
modifier #33225
song-song-song创建于 5月27日
modifier #33225
已合并
共 2 个文件变更+54-0
| @@ -720,6 +720,17 @@ export { StepperModifier } from './arkui/StepperModifier'; | |||
| 720 | */ | 720 | */ |
| 721 | export { UIPickerComponentModifier } from './arkui/UIPickerComponentModifier'; | 721 | export { UIPickerComponentModifier } from './arkui/UIPickerComponentModifier'; |
| 722 | 722 | ||
| 723 | +/** | ||
| 724 | + * Export ContainerReaderModifier, which is used to expose applyNormalAttribute function. | ||
| 725 | + * | ||
| 726 | + * SystemCapability.ArkUI.ArkUI.Full | ||
| 727 | + * | ||
| 728 | + * | ||
| 729 | + * | ||
| 730 | + * 26.0.0 dynamiconly | ||
| 731 | + */ | ||
| 732 | +export { ContainerReaderModifier } from './arkui/ContainerReaderModifier'; | ||
| 733 | + | ||
| 723 | /** | 734 | /** |
| 724 | * Export ModifierUtils, which provides utility methods for modifier and attribute operations. | 735 | * Export ModifierUtils, which provides utility methods for modifier and attribute operations. |
| 725 | * SystemCapability.ArkUI.ArkUI.Full | 736 | * SystemCapability.ArkUI.ArkUI.Full |
| @@ -0,0 +1,43 @@ | |||
| 1 | +/* | ||
| 2 | + * Copyright (c) 2026 Huawei Device Co., Ltd. | ||
| 3 | + * Licensed under the Apache License, Version 2.0 (the "License"); | ||
| 4 | + * you may not use this file except in compliance with the License. | ||
| 5 | + * You may obtain a copy of the License at | ||
| 6 | + * | ||
| 7 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
| 8 | + * | ||
| 9 | + * Unless required by applicable law or agreed to in writing, software | ||
| 10 | + * distributed under the License is distributed on an "AS IS" BASIS, | ||
| 11 | + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| 12 | + * See the License for the specific language governing permissions and | ||
| 13 | + * limitations under the License. | ||
| 14 | + */ | ||
| 15 | +/** | ||
| 16 | + * | ||
| 17 | + * ArkUI | ||
| 18 | + */ | ||
| 19 | + | ||
| 20 | +import { ContainerReaderAttribute } from '../@ohos.arkui.components.ContainerReader'; | ||
| 21 | + | ||
| 22 | +/** | ||
| 23 | + * Defines ContainerReader Modifier | ||
| 24 | + * | ||
| 25 | + * SystemCapability.ArkUI.ArkUI.Full | ||
| 26 | + * | ||
| 27 | + * | ||
| 28 | + * | ||
| 29 | + * 26.0.0 dynamic | ||
| 30 | + */ | ||
| 31 | +export declare class ContainerReaderModifier extends ContainerReaderAttribute implements AttributeModifier<ContainerReaderAttribute> { | ||
| 32 | + /** | ||
| 33 | + * Defines the normal update attribute function. | ||
| 34 | + * | ||
| 35 | + * { ContainerReaderAttribute } instance | ||
| 36 | + * SystemCapability.ArkUI.ArkUI.Full | ||
| 37 | + * | ||
| 38 | + * | ||
| 39 | + * | ||
| 40 | + * 26.0.0 dynamic | ||
| 41 | + */ | ||
| 42 | + applyNormalAttribute?(instance: ContainerReaderAttribute): void; | ||
| 43 | +} | ||