From 06465e0d5707acf611b5339d102f003493721dbe Mon Sep 17 00:00:00 2001 From: yuxiaofei Date: Tue, 24 Jun 2025 22:41:50 +0800 Subject: [PATCH] switch_to_toggle Signed-off-by: yuxiaofei --- api/@ohos.arkui.advanced.ComposeListItem.d.ets | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/api/@ohos.arkui.advanced.ComposeListItem.d.ets b/api/@ohos.arkui.advanced.ComposeListItem.d.ets index 022f294323..ff142a021e 100644 --- a/api/@ohos.arkui.advanced.ComposeListItem.d.ets +++ b/api/@ohos.arkui.advanced.ComposeListItem.d.ets @@ -806,27 +806,29 @@ export declare class OperateItem { button?: OperateButton; /** - * Sets the switch. + * Sets the toggle. * @type { ?OperateCheck } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 10 */ /** - * Sets the switch. + * Sets the toggle. * @type { ?OperateCheck } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice * @since 11 + * @arkts 1.1 */ /** - * Sets the switch. + * Sets the toggle. * @type { ?OperateCheck } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since 20 + * @arkts 1.2 */ - switch?: OperateCheck; + toggle?: OperateCheck; /** * Sets the checkBox. -- Gitee