ion-nav-link
ナビゲーションリンクは指定されたコンポーネントに移動するために使用されます。コンポーネントは forward, back または root コンポーネントとして移動することができます。
これは、ナビゲーションコントローラの push(), pop(), setRoot() メソッドを呼び出すための要素形式となります。
詳しくはnavのドキュメントを参照ください。
プロパティ
component
Description ナビゲート先のコンポーネント。
routerDirectionが "forward" または "root" である場合にのみ使用します。 Attribute
component Type
Function | HTMLElement | ViewController | null | string | undefined Default
undefinedcomponentProps
Description コンポーネントにpropsとして渡したいデータ。routerDirection"
が"forward"または"root"` である場合のみ使用します。 Attribute
component-props Type
undefined | { [key: string]: any; } Default
undefinedrouterAnimation
Description 別ページに移動する際の遷移アニメーション。
Attribute
router-animation Type
((baseEl: any, opts?: any) => Animation) | undefined Default
undefinedrouterDirection
Description 別ページに移動する際の遷移方向です。
Attribute
router-direction Type
"back" | "forward" | "root" Default
'forward'イベント
No events available for this component.
メソッド
No public methods available for this component.
CSS Shadow Parts
No CSS shadow parts available for this component.
CSSカスタムプロパティ
No CSS custom properties available for this component.
Slots
No slots available for this component.