Noora.Checkbox (noora v0.1.0-alpha.5)

An input checkbox.

Summary

Functions

checkbox(assigns)

Attributes

  • label (:string) (required) - The label of the checkbox.
  • description (:string) - An optional description. Defaults to nil.
  • indeterminate (:boolean) - Whether the checkbox is indeterminate. Defaults to false.
  • disabled (:boolean) - Whether the checkbox is disabled. Defaults to false.
  • id (:string) - The id of the checkbox. Defaults to nil.
  • field (Phoenix.HTML.FormField) - A Phoenix form field. Defaults to nil.
  • multiple (:boolean) - Whether the checkbox is part of a multiple checkbox group. Defaults to false.