Phoenix.LiveView.Socket.AssignsNotInSocket
Struct for socket.assigns while rendering.
The socket assigns are available directly inside the template as LiveEEx assigns
, such as @foo
and @bar
. Any assign access should be done using the assigns in the template where proper change tracking takes place.
Summary
Types
Types
t()
Specs
t() :: %Phoenix.LiveView.Socket.AssignsNotInSocket{__assigns__: term()}
© 2018 Chris McCord
Licensed under the MIT License.
https://hexdocs.pm/phoenix_live_view/Phoenix.LiveView.Socket.AssignsNotInSocket.html