t
LiveLayout
trait LiveLayout[-A, -Ctx]Declaratively wraps a LiveView while preserving its message type.
Defined by scalive.LiveLayout. View source (scalive/api/src/scalive/routing/LiveLayouts.scala:20-53)
Methods2
forContext
def forContext[NewContext](select: NewContext => Ctx): LiveLayout[A, NewContext]Adapts this layout to another context type by selecting the context it needs.
The selector must be pure and deterministic. It changes only this layout's input, not the route or session context; parameters, request, URL, and content are forwarded unchanged.
Defined by scalive.LiveLayout.forContext. View source (scalive/api/src/scalive/routing/LiveLayouts.scala:41-52)
view
def view[Msg](content: HtmlElement[Msg], context: LiveLayoutContext[A, Ctx]): HtmlElement[Msg]Defined by scalive.LiveLayout.view. View source (scalive/api/src/scalive/routing/LiveLayouts.scala:21-21)