Skip to content

Commit b886a32

Browse files
committed
docs(nav): component playground examples
1 parent c144e11 commit b886a32

File tree

3 files changed

+49
-179
lines changed

3 files changed

+49
-179
lines changed

docs/api/nav-link.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ A navigation link is used to navigate to a specified component. The component ca
3636

3737
It is the element form of calling the `push()`, `pop()`, and `setRoot()` methods on the navigation controller.
3838

39+
For an example of how to use `ion-nav-link`, visit the [`ion-nav` docs](./nav#using-navlink).
40+
3941

4042

4143

docs/api/nav.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
---
22
title: "ion-nav"
33
hide_table_of_contents: true
4-
demoUrl: "/docs/demos/api/nav/index.html"
5-
demoSourceUrl: "https://github.com/ionic-team/ionic-docs/tree/main/static/demos/api/nav/index.html"
64
---
75
import Tabs from '@theme/Tabs';
86
import TabItem from '@theme/TabItem';
@@ -38,6 +36,26 @@ Nav is a standalone component for loading arbitrary components and pushing new c
3836

3937
Unlike Router Outlet, Nav is not tied to a particular router. This means that if we load a Nav component, and push other components to the stack, they will not affect the app's overall router. This fits use cases where you could have a modal, which needs its own sub-navigation, without making it tied to the apps URL.
4038

39+
## Using NavController
40+
41+
TODO: Playground Example
42+
43+
## Using NavLink
44+
45+
TODO: Playground Example
46+
47+
## Navigation within a Modal
48+
49+
TODO: Playground Example
50+
51+
## Animations
52+
53+
TODO: Playground Example
54+
55+
## Event Handling
56+
57+
TODO: Playground Example
58+
4159
## Interfaces
4260

4361
### NavCustomEvent

0 commit comments

Comments
 (0)