Header menu logo Navs

Guard Module

A module that provides functions for route guard responses

Functions and values

Function or value Description

Guard.Continue ()

Full Usage: Guard.Continue ()

Parameters:
    () : unit

Returns: GuardResponse
Modifiers: inline

A guard response that indicates that the navigation should continue

() : unit
Returns: GuardResponse

Guard.Redirect arg1

Full Usage: Guard.Redirect arg1

Parameters:
    arg0 : string

Returns: GuardResponse
Modifiers: inline

A guard response that indicates that the navigation should stop and redirect to the specified URL

arg0 : string
Returns: GuardResponse

Guard.Stop ()

Full Usage: Guard.Stop ()

Parameters:
    () : unit

Returns: GuardResponse
Modifiers: inline

A guard response that indicates that the navigation should stop and fail the navigation

() : unit
Returns: GuardResponse

Type something to start searching.