From 82eaa50f0b31d7fd1013b92345a908359bf3c297 Mon Sep 17 00:00:00 2001 From: xiexiyun Date: Wed, 3 Aug 2022 11:44:04 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0focusStyle=E9=80=9A=E7=94=A8?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: xiexiyun --- api/@internal/component/ets/common.d.ts | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/api/@internal/component/ets/common.d.ts b/api/@internal/component/ets/common.d.ts index 70402c47b1..1b3cae62a2 100644 --- a/api/@internal/component/ets/common.d.ts +++ b/api/@internal/component/ets/common.d.ts @@ -653,6 +653,25 @@ declare enum SourceType { TouchScreen, } +/** + * Defines the focus style + * @since 9 + */ +declare enum FocusStyle { + + /** + * Default focus style + * @since 9 + */ + Default, + + /** + * None focus style + * @since 9 + */ + None, +} + /** * Defines the Border Image Repeat Mode. * @since 9 @@ -1797,6 +1816,12 @@ declare class CommonMethod { */ geometryTransition(id: string): T; + /** + * Set focusStyle for focus node. + * @since 9 + */ + focusStyle(value: FocusStyle): T; + /** * Popup control * @since 7 -- Gitee