UnchartedPhoenix.ComponentView (uncharted_phoenix v0.2.0) View Source

Link to this section Summary

Functions

The resource name, as an atom, for this view

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

The resource name, as an atom, for this view

Link to this function

color_to_fill(colors, name)

View Source
Link to this function

render(template, assigns \\ %{})

View Source

Renders the given template locally.

Link to this function

svg_pie_slices(pie_slices)

View Source
Link to this function

svg_polyline_points(points)

View Source
Link to this function

template_not_found(template, assigns)

View Source

Specs

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.