You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 17, 2022. It is now read-only.
After you pass the context, you can implement additional business logic with the `onNavigatedTo` callback.
198
-
199
198
#### Example
200
199
201
200
In this example, this master-details app consists of two pages. The main page contains a list of entities. The details page shows information about the currently selected entity.
@@ -238,6 +237,25 @@ export function pageNavigatedTo(args: observable.EventData) {
238
237
}
239
238
```
240
239
240
+
### Navigate without history
241
+
242
+
You can navigate to a page without adding this navigation to the history. Set the `backstackVisible` property of the [`NavigationEntry`](ApiReference/ui/frame/NavigationEntry.md) to `false`. If this property is set to false then the Page will be displayed but once navigated from it will not be able to be navigated back to.
243
+
244
+
```JavaScript
245
+
var navigationEntry = {
246
+
moduleName:"login-page",
247
+
backstackVisible:false
248
+
};
249
+
topmost.navigate(navigationEntry);
250
+
```
251
+
```TypeScript
252
+
var navigationEntry = {
253
+
moduleName: "login-page",
254
+
backstackVisible: false
255
+
};
256
+
topmost.navigate(navigationEntry);
257
+
```
258
+
241
259
### Navigate Back
242
260
243
261
The topmost frame tracks the pages the user has visited in a navigation stack. To go back to a previous page, you need to use the **goBackMethod** of the topmost frame instance.
0 commit comments