Verk Web v1.2.0 VerkWeb.LayoutView

Link to this section Summary

Functions

Returns true whenever the list of templates changes in the filesystem

The resource name, as an atom, for this view

Returns the template root alongside all templates

Generates name for the JavaScript view we want to use in this combination of view/template

Renders the given template locally

Callback invoked when no template is found. By default it raises but can be customized to render a particular template

Link to this section Functions

Link to this function __phoenix_recompile__?()

Returns true whenever the list of templates changes in the filesystem.

The resource name, as an atom, for this view

Link to this function __templates__()

Returns the template root alongside all templates.

Link to this function js_view_name(conn, view_template)

Generates name for the JavaScript view we want to use in this combination of view/template.

Link to this function render(template, assigns \\ %{})

Renders the given template locally.

Link to this function template_not_found(template, assigns)
template_not_found(Phoenix.Template.name, map) :: no_return

Callback invoked when no template is found. By default it raises but can be customized to render a particular template.