Skip to content
scalive
Menu
ConnectingLiveReconnectingOffline
GitHub
c

NavigationGuardAssets

class NavigationGuardAssets

The independently versioned browser runtime used by guardWhen.

Add routes to the application's HTTP routes and render script before the application LiveSocket bundle in the root layout.

Defined by scalive.NavigationGuardAssets. View source (scalive/transport/zio-http/src/scalive/NavigationGuardAssets.scala:11-17)

Methods1

script

def script: HtmlElement[Nothing]

A deferred, Phoenix-tracked script element for the navigation-guard runtime.

Defined by scalive.NavigationGuardAssets.script. View source (scalive/transport/zio-http/src/scalive/NavigationGuardAssets.scala:16-17)

Values1

routes

val routes: zio.http.Routes[Any, Nothing]

GET and HEAD routes for the versioned navigation-guard runtime.

Defined by scalive.NavigationGuardAssets.routes. View source (scalive/transport/zio-http/src/scalive/NavigationGuardAssets.scala:13-13)