Skip to content
scalive
Menu
ConnectingLiveReconnectingOffline
GitHub
t

AfterRenderConnected

trait AfterRenderConnected extends ConnectedMetadata

Capabilities that the after-render hooks of a LiveView can use only in a connected lifecycle.

Reach them by matching ctx.connection in the hook.

Defined by scalive.AfterRenderConnected. View source (scalive/api/src/scalive/lifecycle/Connection.scala:113-115)

Methods1

client

def client: Client

Pushes events and JavaScript commands to the browser.

Defined by scalive.AfterRenderConnected.client. View source (scalive/api/src/scalive/lifecycle/Connection.scala:115-115)