View Source MemorexWeb.SharedViewHelpers (Memorex v0.2.4)
Helper functions used by various LiveViews.
Link to this section Summary
Link to this section Functions
@spec format(Timex.Duration.t() | DateTime.t() | nil) :: String.t()
@spec format_datetime(nil | DateTime.t()) :: String.t()
@spec format_iso_datetime(nil | DateTime.t()) :: String.t()
@spec img_alt(Memorex.Domain.Card.t() | String.t()) :: String.t()
@spec img_src(Memorex.Domain.Card.t()) :: String.t()