From 373abee6b83078eece2349ba02ccab6fd87fe62c Mon Sep 17 00:00:00 2001 From: sandreas <2050604+sandreas@users.noreply.github.com> Date: Tue, 30 Jan 2024 23:16:43 +0100 Subject: [PATCH] Removed Example: from headlines --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 347a19b..3d0edd9 100644 --- a/README.md +++ b/README.md @@ -87,7 +87,7 @@ public class ViewLocator : IDataTemplate ## Examples -**Example: Simple Transition** +**Simple Transition** Just change the visible view. ```c# @@ -95,7 +95,7 @@ Just change the visible view. _router.GoTo(); ``` -**Example: Transition with parameters** +**Transition with parameters** The `Goto` method will return the destination viewModel, so you can change values. This is similar to route parameters but type safe and more flexible. @@ -105,7 +105,7 @@ var settingsVm = _router.GoTo(); settingsVm.DefaultUsername = "root"; ``` -**Example: Check history before transition** +**Check history before transition** You can check, if there is a routing history by using `HasNext` and `HasPrev` properties. ```c# @@ -120,7 +120,7 @@ if(_router.HasPrev) { } ``` -**Example: Move in history by numeric value** +**Move in history by numeric value** If you would like to navigate by a numeric value, this is also possible. ```c# // go back two history items if possible, otherwise it will stay where you are