phoenix_gon_fork v0.5.1 PhoenixGon.View View Source

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)

View Source
escape_assets(Plug.Conn.t()) :: String.t()
Link to this function

render_gon_script(conn)

View Source
render_gon_script(Plug.Conn.t()) :: any()

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