メインコンテンツまでスキップ
バージョン: v8

ion-nav-link

ナビゲーションリンクは指定されたコンポーネントに移動するために使用されます。コンポーネントは forward, back または root コンポーネントとして移動することができます。

これは、ナビゲーションコントローラの push(), pop(), setRoot() メソッドを呼び出すための要素形式となります。

詳しくはnavのドキュメントを参照ください。

プロパティ​

component​

DescriptionComponent to navigate to. Only used if the routerDirection is "forward" or "root".
Attributecomponent
TypeFunction | HTMLElement | ViewController | null | string | undefined
Defaultundefined

componentProps​

DescriptionData you want to pass to the component as props. Only used if the "routerDirection" is "forward" or "root".
Attributeundefined
Typeundefined | { [key: string]: any; }
Defaultundefined

routerAnimation​

DescriptionThe transition animation when navigating to another page.
Attributeundefined
Type((baseEl: any, opts?: any) => Animation) | undefined
Defaultundefined

routerDirection​

DescriptionThe transition direction when navigating to another page.
Attributerouter-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.