From bfbea65ca76597e2808f3c64b984f83a7492410f Mon Sep 17 00:00:00 2001 From: wangxiuxiu Date: Thu, 7 Nov 2024 20:15:51 +0800 Subject: [PATCH] setAutoFocusTransfer Signed-off-by: wangxiuxiu Change-Id: I6134cda3c5b03b354b2a5975d0a802de1b9e3987 --- api/@ohos.arkui.UIContext.d.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/api/@ohos.arkui.UIContext.d.ts b/api/@ohos.arkui.UIContext.d.ts index b81e60104..65561ee31 100644 --- a/api/@ohos.arkui.UIContext.d.ts +++ b/api/@ohos.arkui.UIContext.d.ts @@ -2273,6 +2273,16 @@ export class FocusController { * @since 14 */ activate(isActive: boolean, autoInactive?: boolean): void; + + /** + * Set whether to enable autofocus transfer. + * @param { boolean } isAutoFocusTransfer - A Boolean value that indicates whether autofocus transfer is enabled. + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @atomicservice + * @since 14 + */ + setAutoFocusTransfer(isAutoFocusTransfer: boolean): void; } /**