ion-nav-link
ナビゲーションリンクは指定されたコンポーネントに移動するために使用されます。コンポーネントは forward, back または root コンポーネントとして移動することができます。
これは、ナビゲーションコントローラの push(), pop(), setRoot() メソッドを呼び出すための要素形式となります。
詳しくはnavのドキュメントを参照ください。
プロパティ
component
| Description | Component to navigate to. Only used if the routerDirection is "forward" or "root". |
| Attribute | component |
| Type | Function | HTMLElement | ViewController | null | string | undefined |
| Default | undefined |
componentProps
| Description | Data you want to pass to the component as props. Only used if the "routerDirection" is "forward" or "root". |
| Attribute | undefined |
| Type | undefined | { [key: string]: any; } |
| Default | undefined |