mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-10-07 06:03:30 +00:00
!11121 修复AlertDialog的参数为AlertDialogButtonOptions时,无法默认响应Enter键
Merge pull request !11121 from liyi/master
This commit is contained in:
commit
e820cb6481
@ -500,6 +500,15 @@ declare interface AlertDialogButtonOptions {
|
||||
* @since 11
|
||||
*/
|
||||
action: () => void;
|
||||
/**
|
||||
* Define whether the button responds to Enter/Space key by default.
|
||||
*
|
||||
* @type { ?boolean }
|
||||
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
||||
* @crossplatform
|
||||
* @since 12
|
||||
*/
|
||||
primary?: boolean;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user