API Reference Emerge v#0.1.0

Copy Markdown View Source

Modules

Public API for writing viewport modules.

Verified media path sigil.

Compile-time verified asset path reference returned by ~m.

Retained tree diffing, encoding, and event routing helpers.

Compact encoding for element attribute maps.

Stateful diff helper that keeps numeric id assignments stable.

Core data structure representing a layout element in the Emerge tree.

Diff and encode patch operations for Emerge.Engine.Element trees.

Reconcile Emerge.Engine.Element trees into stable ids and patch operations.

Binary serialization for Emerge.Engine.Element trees.

Utilities for working with Emerge.Engine.Element trees.

Internal virtual node that keeps identity and keys for reconciliation.

Watches Elixir source files, recompiles selected Mix apps, and rerenders live viewports.

Runtime GenServer backing use Emerge viewport modules.

Declarative UI tree API.

Alignment helpers for positioning inside layout parents.

Animation helpers for declarative runtime transitions.

Background styling attributes.

Border styling attributes.

Helpers for UI color tuples, including the Tailwind CSS v4.2 palette.

Event handler helpers for interactive elements.

Font styling attributes.

Input element helpers.

Conditional style blocks for interaction states.

Nearby positioning helpers.

Overflow helpers for scrollable layouts.

Length and sizing helpers for Emerge UI layouts.

Padding and child-gap helpers.

SVG-specific styling attributes

Transform and opacity helpers.

Minimal Skia renderer for the Emerge layout engine.

NIF bindings for the Skia renderer.

Handle for a renderer-owned video target.