Skip to content
scalive
Menu
ConnectingLiveReconnectingOffline
GitHub
c

LiveLayoutValues

class LiveLayoutValues

The values a LiveView passes to its layouts for one model, each under its LiveLayoutKey.

Build it with LiveLayoutValues(key := value, ...) in layoutValues. When an entry repeats a key, the later one is kept.

Defined by scalive.LiveLayoutValues. View source (scalive/api/src/scalive/routing/LiveLayoutValues.scala:28-41)

Methods1

get

def get[A](key: LiveLayoutKey[A]): Option[A]

Returns the value provided for key, or None when there is none.

Defined by scalive.LiveLayoutValues.get. View source (scalive/api/src/scalive/routing/LiveLayoutValues.scala:30-30)