mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
ion-router-outlet
RouterOutlet is a component used in routing within an Angular app. RouterOutlet behaves the same way as Angular's built-in RouterOutlet component, but contains the logic needed for animating views in and out.
Note: this is only meant for Angular projects. For vanilla JavaScript, use
ion-routerandion-routeinstead.
While RouterOutlet has methods for navigating around, it's recommended to use the navigation methods in Angular's router.
Properties
animated
boolean
animationBuilder
AnimationBuilder
delegate
FrameworkDelegate
Attributes
animated
boolean
animation-builder
delegate
Events
ionNavDidChange
ionNavWillChange
ionNavWillLoad
Methods
commit()
getRouteId()
Returns the ID for the current route
setRoot()
Set the root component for the given navigation stack
setRouteId()
Built with StencilJS