Vibe.UI.Document (vibe v0.2.0)

Copy Markdown View Source

Renderer-neutral semantic UI document shared by plugins and renderers.

Summary

Types

t()

@type t() :: %Vibe.UI.Document{
  description: String.t() | nil,
  metadata: map(),
  sections: [Vibe.UI.Section.t()],
  title: String.t() | nil,
  version: pos_integer()
}

Functions

empty()

@spec empty() :: t()

new(document)

@spec new(t() | keyword() | map() | nil) :: t()