PhoenixTurbo.ControllerHelper (PhoenixTurbo v0.1.0) View Source
Link to this section Summary
Functions
The same effect with Phoenix.Controller.render/2
except subtracting layout and putting turbo stream content type to the HTTP response content type.
The same effect with Phoenix.Controller.render/3
except subtracting layout and putting turbo stream content type to the HTTP response content type.
Return true if it's a "turbo-stream" request. E.g. Clicking link or submitting form inside the <turbo-frame> tag.
Link to this section Functions
Specs
render_turbo_stream(Plug.Conn.t(), Keyword.t() | map() | binary() | atom()) :: Plug.Conn.t()
The same effect with Phoenix.Controller.render/2
except subtracting layout and putting turbo stream content type to the HTTP response content type.
Specs
render_turbo_stream( Plug.Conn.t(), binary() | atom(), Keyword.t() | map() | binary() | atom() ) :: Plug.Conn.t()
The same effect with Phoenix.Controller.render/3
except subtracting layout and putting turbo stream content type to the HTTP response content type.
Specs
turbo_stream_request?(Plug.Conn.t()) :: boolean()
Return true if it's a "turbo-stream" request. E.g. Clicking link or submitting form inside the <turbo-frame> tag.