!14628 新增自动对焦转移配置

Merge pull request !14628 from wangxiuxiu96/focus
This commit is contained in:
openharmony_ci 2024-11-14 04:36:41 +00:00 committed by Gitee
commit 8b4524d957
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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;
}
/**