toScreen( )


Opens the specified screen.

developer preview tag

toScreen() returns a promise that resolves when the opened screen closes. Learn more about stack navigation.

Method Declaration
Copy
Method Parameters
screenIdstringRequired

Name of the screen to open, as defined in the app editor. Learn more about managing your app's screens.


dataData

Data to send to the target screen.

Returns
Return Type:Promise<CloseScreenResult>
Did this help?