ExTeal.Card behaviour (ExTeal v0.21.0) View Source

Represents a Card that can be displayed on a dashboard or resource

Link to this section Summary

Link to this section Types

Specs

t() :: %ExTeal.Card{
  component: term(),
  only_on_detail: term(),
  only_on_index: term(),
  options: term(),
  title: term(),
  width: term()
}

Link to this section Callbacks

Specs

component() :: String.t()

Specs

only_on_detail(Plug.Conn.t()) :: bool()

Specs

only_on_index(Plug.Conn.t()) :: bool()

Specs

options(Plug.Conn.t()) :: map()

Specs

width() :: String.t()

Link to this section Functions