【api】prompt与promptAction type标签补充

Signed-off-by: yyuanche <yuancheng25@huawei.com>
This commit is contained in:
yyuanche 2024-07-20 10:49:15 +08:00
parent 11c3f75a26
commit e2530148ce
2 changed files with 4 additions and 0 deletions

View File

@ -105,6 +105,7 @@ declare namespace prompt {
interface ShowDialogSuccessResponse {
/**
* @type { number }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @since 8
* @deprecated since 9

View File

@ -1053,6 +1053,7 @@ declare namespace promptAction {
* The array structure is {text:'button', color: '#666666'}.
* One to six buttons are supported.
*
* @type { [Button, Button?, Button?, Button?, Button?, Button?] }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @since 9
*/
@ -1061,6 +1062,7 @@ declare namespace promptAction {
* The array structure is {text:'button', color: '#666666'}.
* One to six buttons are supported.
*
* @type { [Button, Button?, Button?, Button?, Button?, Button?] }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 10
@ -1070,6 +1072,7 @@ declare namespace promptAction {
* The array structure is {text:'button', color: '#666666'}.
* One to six buttons are supported.
*
* @type { [Button, Button?, Button?, Button?, Button?, Button?] }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice