Skip to content

Commit 1ccbedc

Browse files
dimodidimodi
authored andcommitted
fix slugs
1 parent 802aa60 commit 1ccbedc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/menu/templates.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The Menu component allows you to define a custom template for its items. This ar
1616

1717
The template of all items is defined in the `ItemTemplate` tag of the Menu.
1818

19-
The template receives the respective Menu data item as its `context`. You can use it to render the desired content. You can also set the `Context` parameter of the `ItemTemplate` tag and use a [named context variable. This is useful in nested template scenarios]().
19+
The template receives the respective Menu data item as its `context`. You can use it to render the desired content. You can also set the `Context` parameter of the `ItemTemplate` tag and use a [named context variable. This is useful in nested template scenarios]({%slug nest-renderfragment%}).
2020

2121
The Menu item template can contain arbitrary content according such as HTML markup and other components. You can also use standard event handlers like `@onclick` or `@onmouseover`.
2222

@@ -153,7 +153,7 @@ The following example shows how to render `<NavLink>` tags inside the Menu and u
153153

154154
### Use ItemTemplate for Styling and target="_blank"
155155

156-
The example below shows a Menu configuration that is suitable for use in `MainLayout.razor`. The implementation disables the [built-in Menu navigation]({%slug menu-navigation}) because the URL property is not `Url` and `UrlField` is not set. The sample also uses `<NavLink>` tags with `target="_blank"` to open external links in a new browser window.
156+
The example below shows a Menu configuration that is suitable for use in `MainLayout.razor`. The implementation disables the [built-in Menu navigation]({%slug menu-navigation%}) because the URL property is not `Url` and `UrlField` is not set. The sample also uses `<NavLink>` tags with `target="_blank"` to open external links in a new browser window.
157157

158158
>caption Use Menu item template to distinguish the current page and open external links in new browser windows
159159

0 commit comments

Comments
 (0)