Rendro.Section (Rendro v1.0.0) (stable)

Copy Markdown View Source

Reusable flow section that targets a named template region.

Summary

Types

suppress_on()

@type suppress_on() :: nil | :first | {:pages, [pos_integer()]}

t()

@type t() :: %Rendro.Section{
  content: [Rendro.Block.t() | Rendro.RunningContent.t()],
  name: atom() | String.t() | nil,
  options: %{optional(atom()) => term()},
  page_template: atom() | String.t() | nil,
  region: atom() | String.t(),
  suppress_on: suppress_on()
}