PaperForge.Layout.Block (PaperForge v1.4.2)

Copy Markdown View Source

Common block representation used by the unified layout engine.

Summary

Types

t()

@type t() :: %PaperForge.Layout.Block{
  children: [t()],
  content: term(),
  id: binary(),
  options: keyword(),
  type: atom()
}

Functions

new(type, content, options \\ [])

@spec new(atom(), term(), keyword()) :: t()