Espex.Wizard.Page (espex v0.12.0)

Copy Markdown View Source

One page of the device wizard. Pages are shown in the order listed.

  • title — optional, up to 127 bytes
  • description — optional, up to 255 bytes
  • entities — Espex.Wizard.Entity structs to show
  • inputs — Espex.Wizard.Input structs for the user to fill in

A page needs at least one entity or input.

Summary

Types

t()

(since 0.12.0)
@type t() :: %Espex.Wizard.Page{
  description: String.t() | nil,
  entities: [Espex.Wizard.Entity.t()],
  inputs: [Espex.Wizard.Input.t()],
  title: String.t() | nil
}