!9159 [新需求]全模态和半模态新增生命周期回调

Merge pull request !9159 from 程飞望/BindOptions
This commit is contained in:
openharmony_ci 2024-03-06 09:45:33 +00:00 committed by Gitee
commit b99562f212
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -8787,6 +8787,28 @@ declare interface BindOptions {
* @since 11
*/
onDisappear?: () => void;
/**
* Callback function before overlay animation starts.
*
* @type { ?function }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
* @since 12
*/
onWillAppear?: () => void;
/**
* Callback function before overlay popAnimation starts.
*
* @type { ?function }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
* @since 12
*/
onWillDisappear?: () => void;
}
/**