View Source LayoutBuilder.Layout.Row (layout_builder v0.4.0)

Row represents a row inside a Layout or a Col.

Link to this section Summary

Link to this section Types

@type t() :: %LayoutBuilder.Layout.Row{
  cols: [LayoutBuilder.Layout.Col.t()] | nil,
  id: Ecto.UUID.t() | nil,
  name: String.t()
}

Link to this section Functions

@spec add_col(t()) :: t()
@spec build_row() :: %LayoutBuilder.Layout.Row{
  cols: [%LayoutBuilder.Layout.Col{id: Ecto.UUID.t(), name: nil, rows: []}],
  id: Ecto.UUID.t(),
  name: nil
}
Link to this function

changeset(struct, attrs)

View Source