Skip to content
scalive
Menu
ConnectingLiveReconnectingOffline
GitHub
e

NavigationGuardScope

enum NavigationGuardScope

Which navigation a guardWhen guard asks the visitor to confirm.

Defined by scalive.NavigationGuardScope. View source (scalive/api/src/scalive/NavigationGuardScope.scala:4-11)

Values2

AnyNavigation

val AnyNavigation: NavigationGuardScope

Every navigation LeavingView guards, and live patches within the LiveView too.

Defined by scalive.NavigationGuardScope.AnyNavigation. View source (scalive/api/src/scalive/NavigationGuardScope.scala:11-11)

LeavingView

val LeavingView: NavigationGuardScope

Navigation that leaves the LiveView and loses its state: live links to any view, including the same one, LiveView history traversal, reload, and tab close. Live patches pass.

Defined by scalive.NavigationGuardScope.LeavingView. View source (scalive/api/src/scalive/NavigationGuardScope.scala:8-8)