ExEffectiveBootstrap v0.1.17 ExEffectiveBootstrap.Options View Source

Normalizes and initializes all passed options

Link to this section Summary

Link to this section Types

Link to this type

t()

View Source
t() :: %ExEffectiveBootstrap.Options{
  append: Keyword.t() | false,
  custom_control: Keyword.t() | false,
  hint: Keyword.t() | false,
  input: Keyword.t(),
  input_group: Keyword.t() | false,
  invalid: Keyword.t() | false,
  javascript: Keyword.t() | false,
  label: Keyword.t() | false,
  prepend: Keyword.t() | false,
  required: boolean() | nil,
  select_options: any() | nil,
  type: atom() | nil,
  valid: Keyword.t() | false,
  wrapper: Keyword.t()
}

Link to this section Functions

Link to this function

build(options, form, field, opts \\ [])

View Source
build(t(), Phoenix.HTML.Form.t() | atom(), atom(), Keyword.t()) :: t()
Link to this function

form_options(form, opts \\ [])

View Source
form_options(Phoenix.HTML.Form.t() | atom(), Keyword.t()) :: Keyword.t()
Link to this function

input_type(form, field, opts \\ [])

View Source
input_type(Phoenix.HTML.Form.t() | atom(), atom(), Keyword.t()) :: atom()
Link to this function

merge(options, opts)

View Source
merge(Keyword.t() | nil, Keyword.t() | nil) :: Keyword.t()
Link to this function

to_options(map)

View Source
to_options(Map.t()) :: t()