Navigation
openPage(url, options)
Section titled “openPage(url, options)”Open the URL in a new full-screen WebView page.
// Open new pageSuperSDK.openPage('https://example.com');
// With configuration (currently, no features are configured in config)SuperSDK.openPage('https://example.com', {});Parameter Description:
| Parameter | Type | Description |
|---|---|---|
| url | string | URL to open |
| options | object | Configuration object (no available configurations currently, reserved for extension) |
Note: The opened page is a full-screen WebView without any native title bar obstruction. The page can be closed by calling
closePage().
closePage()
Section titled “closePage()”Close the current page.
SuperSDK.closePage();Note: Calling this method in a TAB page has no effect.
openExternal(url)
Section titled “openExternal(url)”Open URL using system method (jump to external app).
// Open App StoreSuperSDK.openExternal('market://details?id=com.example.app');
// Make a phone callSuperSDK.openExternal('tel:10086');
// Send emailopenWithBrowser(url)
Section titled “openWithBrowser(url)”Open the URL using the system browser.
SuperSDK.openWithBrowser('https://www.google.com');