LiveViewClientAssets
class LiveViewClientAssetsThe supported Phoenix and Phoenix LiveView browser clients.
Add routes to the application's HTTP routes. Render phoenixScript before
liveViewScript, then render the application script which constructs and connects
LiveSocket.
Defined by scalive.LiveViewClientAssets. View source (scalive/transport/zio-http/src/scalive/LiveViewClientAssets.scala:12-22)
Methods2
liveViewScript
def liveViewScript: HtmlElement[Nothing]A deferred, Phoenix-tracked script element for Phoenix LiveView 1.2.10.
Defined by scalive.LiveViewClientAssets.liveViewScript. View source (scalive/transport/zio-http/src/scalive/LiveViewClientAssets.scala:21-22)
phoenixScript
def phoenixScript: HtmlElement[Nothing]A deferred, Phoenix-tracked script element for Phoenix 1.8.9.
Defined by scalive.LiveViewClientAssets.phoenixScript. View source (scalive/transport/zio-http/src/scalive/LiveViewClientAssets.scala:17-18)
Values1
routes
val routes: zio.http.Routes[Any, Nothing]GET and HEAD routes for the versioned client files.
Defined by scalive.LiveViewClientAssets.routes. View source (scalive/transport/zio-http/src/scalive/LiveViewClientAssets.scala:14-14)