closeScreen( )


Closes the current screen.

developer preview tag

closeScreen() returns a promise that resolves when the screen closes.

Method Declaration
Copy
Method Parameters
ClosedScreenDataClosedScreenDataRequired

Data to send to the screen beneath this one in the stack. Learn more about stack navigation.

Close a screen
JavaScript
Did this help?