self module

Note

This namespace is in Beta and provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Module for actions that can be taken by the stage view itself.

Functions

close()

Closes the current stage view. This function will be a no-op if called from outside of a stage view.

isSupported()

Checks if stageView.self capability is supported by the host

Function Details

close()

Note

This API is in Beta and provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Closes the current stage view. This function will be a no-op if called from outside of a stage view.

function close(): Promise<void>

Returns

Promise<void>

Promise that resolves or rejects with an error once the stage view is closed.

isSupported()

Note

This API is in Beta and provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Checks if stageView.self capability is supported by the host

function isSupported(): boolean

Returns

boolean

boolean to represent whether the stageView.self capability is supported