phoenix_gon v0.4.0 PhoenixGon.View

Adds templates helpers for rendering and adding javascript code to browser.

Link to this section Summary

Functions

Returns javascript code what adds phoenix variables to javascript and browser

Link to this section Functions

Link to this function escape_assets(conn)
escape_assets(Plug.Conn) :: String.t()
Link to this function render_gon_script(conn)
render_gon_script(Plug.Conn.t()) :: Plug.Conn.t()

Returns javascript code what adds phoenix variables to javascript and browser.