ExCell v0.0.12 ExCell.Adapter behaviour View Source

An ExCell Adapter defines the way the adapter outputs its HTML. The adapter requires a function called adapter that accepts a map container name, attributes, params and the content. It should return a Phoenix.HTML safe string.

Link to this section Summary

Link to this section Types

Link to this type html() View Source
html() :: {:safe, list}
Link to this type options() View Source
options() :: %{name: String.t, attributes: list, params: map, content: String.t | {:safe, list}}

Link to this section Callbacks

Link to this callback container(options) View Source
container(options :: options) :: html