Lit.PageView (Lit v0.1.2) View Source

Link to this section Summary

Functions

Takes the controller action name and appends it to the lit- prefix.

Link to this section Functions

Specs

body_classes(Plug.Conn.t()) :: String.t()

Takes the controller action name and appends it to the lit- prefix.

Example

iex> body_classes(%Plug.Conn{private: %{phoenix_action: :create}})
"lit-create"