Incant.UI.Adapter behaviour (Incant v0.1.1)

Copy Markdown View Source

Behaviour for Incant UI render adapters.

Adapters render semantic Incant UI nodes. They may delegate unsupported nodes to another adapter instead of advertising a global capability list.

Summary

Callbacks

render(node, env)

@callback render(node :: struct(), env :: Incant.UI.Env.t()) ::
  Phoenix.LiveView.Rendered.t()