Navigate
public struct Navigate : NavigationSideEffect
extension Navigate: CustomDebugStringConvertible
Navigation action used to ask the Navigator to navigate to a specific Route.
-
Specify if the
Navigationshould be animatedDeclaration
Swift
public let animated: Bool -
The context of this
NavigationDeclaration
Swift
public let context: Any? -
Initializes and return a Navigate action.
Declaration
Swift
public init(to route: Route, animated: Bool = false, context: Any? = nil) -
The side effect of the action, look into Katana to know what a
SideEffectis.Declaration
Swift
public func anySideEffect(_ context: AnySideEffectContext) throws -> Any -
Declaration
Swift
public var debugDescription: String { get }
View on GitHub
Navigate Structure Reference