PaperForge.Layout.Block (PaperForge v0.5.0)

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()