File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ A flexible navigation stack for Blazor. Easily manage complex page chains with a
9
9
<a href =" https://purple-rock-0e47e3410.6.azurestaticapps.net/ " target =" _blank " >Live Demo</a >
10
10
## Installation
11
11
## Basic Usage
12
- #### Obtaining INavigationStack
12
+ ### Obtaining INavigationStack
13
13
All operations on the Blazor navigation stack can be done through INavigationStack interface.
14
14
INavigationStack interface can be obtained through many ways.
15
15
1 . Through context
@@ -53,7 +53,7 @@ INavigationStack interface can be obtained through many ways.
53
53
private INavigationStack? _stack;
54
54
}
55
55
```
56
- #### Add a page to the stack
56
+ ### Add a page to the stack
57
57
+ Adding a page on top of the current one by calling INavigationStack.Push method.
58
58
+ Remove the top most page by calling INavigationStack.Pop method
59
59
``` razor
@@ -70,7 +70,7 @@ await _stack.Push(new StackPage() {
70
70
Content = Content(),
71
71
});
72
72
```
73
- #### Add a page expecting a result
73
+ ### Add a page expecting a result
74
74
+ Adding a page on top of the current one by calling INavigationStack.Push\< T> method.
75
75
+ Setting a result and pop the cuurent page by calling INavigationStack.SetResult method.
76
76
You can’t perform that action at this time.
0 commit comments