已合并
modifier #33225
modifier #33225
已合并
song-song-song创建于 5月27日
2 个文件变更+54-0
@@ -720,6 +720,17 @@ export { StepperModifier } from './arkui/StepperModifier';
720 */720 */
721export { UIPickerComponentModifier } from './arkui/UIPickerComponentModifier';721export { UIPickerComponentModifier } from './arkui/UIPickerComponentModifier';
722 722 
723+/**
724+ * Export ContainerReaderModifier, which is used to expose applyNormalAttribute function.
725+ *
726+ * @syscap SystemCapability.ArkUI.ArkUI.Full
727+ * @stagemodelonly
728+ * @crossplatform
729+ * @atomicservice
730+ * @since 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 * @syscap SystemCapability.ArkUI.ArkUI.Full736 * @syscap 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+ * @file
17+ * @kit ArkUI
18+ */
19+ 
20+import { ContainerReaderAttribute } from '../@ohos.arkui.components.ContainerReader';
21+ 
22+/**
23+ * Defines ContainerReader Modifier
24+ *
25+ * @syscap SystemCapability.ArkUI.ArkUI.Full
26+ * @stagemodelonly
27+ * @crossplatform
28+ * @atomicservice
29+ * @since 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+ * @param { ContainerReaderAttribute } instance
36+ * @syscap SystemCapability.ArkUI.ArkUI.Full
37+ * @stagemodelonly
38+ * @crossplatform
39+ * @atomicservice
40+ * @since 26.0.0 dynamic
41+ */
42+ applyNormalAttribute?(instance: ContainerReaderAttribute): void;
43+}