From e3a4be992d629eae8bac2b0ca3d5d96521667888 Mon Sep 17 00:00:00 2001 From: xiexiyun Date: Thu, 5 Jan 2023 23:33:11 +0800 Subject: [PATCH] textfield focused Signed-off-by: xiexiyun --- api/@internal/component/ets/common.d.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/api/@internal/component/ets/common.d.ts b/api/@internal/component/ets/common.d.ts index f69d4928ad..9affc56497 100644 --- a/api/@internal/component/ets/common.d.ts +++ b/api/@internal/component/ets/common.d.ts @@ -1960,6 +1960,15 @@ declare class CommonMethod { * @since 9 */ onVisibleAreaChange(ratios: Array, event: (isVisible: boolean, currentRatio: number) => void): T; + + /** + * Enable components to change focus state + * @type boolean + * @default false + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @since 9 + */ + focused(value: boolean): T; } /** -- Gitee