currentApp module
Provides functions for navigating within your own app
Interfaces
NavigateWithinAppParams |
Parameters provided to the navigateTo function |
Functions
is |
Checks if pages.currentApp capability is supported by the host |
navigate |
Navigate within the currently running app |
navigate |
Navigate to the currently running app's first static page defined in the application manifest. |
Function Details
isSupported()
Checks if pages.currentApp capability is supported by the host
function isSupported(): boolean
Returns
boolean
boolean to represent whether the pages.currentApp capability is supported
navigateTo(NavigateWithinAppParams)
Navigate within the currently running app
function navigateTo(params: NavigateWithinAppParams): Promise<void>
Parameters
- params
- NavigateWithinAppParams
Parameters for the navigation
Returns
Promise<void>
Promise
that will resolve if the navigation was successful and reject if not
Remarks
If you are looking to navigate to a different app, use navigateToApp.
navigateToDefaultPage()
Navigate to the currently running app's first static page defined in the application manifest.
function navigateToDefaultPage(): Promise<void>
Returns
Promise<void>
Promise
that will resolve if the navigation was successful and reject if not
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour