Cringe.Document.Stack (cringe v0.1.0)

Copy Markdown View Source

Ordered container node for terminal documents.

Summary

Types

direction()

@type direction() :: :vertical | :horizontal

t()

@type t() :: %Cringe.Document.Stack{
  children: [Cringe.Document.t()],
  direction: direction(),
  opts: keyword()
}

Functions

new(children, direction, opts \\ [])

@spec new([Cringe.Document.t()], direction(), keyword()) :: t()