View Source GlificWeb.StatsLive (Glific v5.1.6)

StatsLive uses phoenix live view to show current stats

Link to this section Summary

Functions

Wires up socket assigns necessary for rendering the view

Receives the socket.assigns and is responsible for returning rendered content

Link to this section Functions

Link to this function

mount(params, session, socket)

View Source
@spec mount(map(), map(), Phoenix.LiveView.Socket.t()) ::
  {:ok, Phoenix.LiveView.Socket.t()}

Wires up socket assigns necessary for rendering the view

Receives the socket.assigns and is responsible for returning rendered content