Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.rebellapp.com/llms.txt

Use this file to discover all available pages before exploring further.

Use this API to close all pages in the page stack and open a new page. This is useful for resetting the navigation state.

Parameters

PropertyTypeRequiredDescription
urlStringYesPage path with optional query parameters
successFunctionNoCallback on success
failFunctionNoCallback on failure
completeFunctionNoCallback that always executes

Code Example

my.reLaunch({
  url: 'pages/home/home'
});

// With query parameters
my.reLaunch({
  url: 'pages/home/home?from=logout'
});

Use Cases

  • Reset app state after logout
  • Return to home after completing a flow
  • Clear navigation history

my.redirectTo

Replace current page

my.switchTab

Navigate to tab page