NativeElixirPdfUtilities.HtmlToPdf.HtmlComposition (native_elixir_pdf_utilities v1.1.0)

View Source

Builds an initial composed projection from authored declarative shadow trees.

The logical document is retained unchanged. Assigned nodes keep their original identity, tree scope, parent and source. Projection ancestry is recorded in composed_parent_id; it never grants resource permissions. Manual roots have no initial assignments, since no script or assign() call has executed.

Summary

Functions

Returns the unchanged logical tree and its initial shadow/slot rendering projection.

Functions

compose(dom)

@spec compose(term()) :: {:ok, map()} | {:error, {atom(), map()}}

Returns the unchanged logical tree and its initial shadow/slot rendering projection.