Incant.UI.Env (incant v0.1.0)

Copy Markdown

Runtime environment passed to UI adapters.

Summary

Types

t()

@type t() :: %Incant.UI.Env{
  adapter: module(),
  admin: module() | nil,
  assigns: map(),
  base_path: String.t(),
  context: map() | nil,
  debug: boolean(),
  density: atom(),
  flash: map(),
  locale: String.t() | nil,
  theme: map() | nil,
  timezone: String.t() | nil
}

Functions

new(context, assigns \\ %{})