closeModal

Closes the currently open modal.

Note: This function can only be used in the code for a dashboard modal extension.

署名

コピー
1

Parameters

名称タイプ説明
closeDataSerializableOptional. Data to pass to the modal's opener. This data is returned by openModal once the modal is closed. It must be Serializable data, which means it can be cloned using the structured clone algorithm. For example, you cannot pass function callbacks in this parameter.

リターン

void

To set up a dashboard client, refer to the setup guide.

Close a modal

コピー
1
役に立ちましたか?
はい
いいえ