Skip to main content

ion-nav-link

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

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

詳細については、navのドキュメントを参照してください。

Properties​

component​

Descriptionナビゲート先のコンポーネント。 routerDirectionが "forward" または "root" である場合にのみ使用します。
Attributecomponent
TypeFunction | HTMLElement | ViewController | null | string | undefined
Defaultundefined

componentProps​

Descriptionコンポーネントにpropsとして渡したいデータ。routerDirection"が"forward"または"root"` である場合のみ使用します。
Attributeundefined
TypeT | undefined
Defaultundefined

routerAnimation​

Description別ページに移動する際の遷移アニメーション。
Attributeundefined
Type((baseEl: any, opts?: any) => Animation) | undefined
Defaultundefined

routerDirection​

Description別ページに移動する際の遷移方向です。
Attributerouter-direction
Type"back" | "forward" | "root"
Default'forward'

Events​

No events available for this component.

Methods​

No public methods available for this component.

CSS Shadow Parts​

No CSS shadow parts available for this component.

CSS Custom Properties​

No CSS custom properties available for this component.

Slots​

No slots available for this component.