Aurora.Uix.Templates.Basic.Generators.ShowComponentGenerator (Aurora UIX v0.1.4-rc.5)

Copy Markdown

Generates show component modules for the Basic template implementation.

This module provides a macro to generate LiveComponent modules for handling show views in Aurora UIX Basic templates.

Key Features

  • Generates LiveComponent modules for showing entity data
  • Supports dynamic section switching
  • Handles entity display with preload support
  • Enables section interactions via events
  • Integrates with Aurora UIX context and helpers

Summary

Functions

Generates a LiveComponent module for showing data.

Functions

generate_module(parsed_opts)

@spec generate_module(map()) :: Macro.t()

Generates a LiveComponent module for showing data.

Parameters

  • parsed_opts (map()) - Show configuration with tag: :show and function references.

Returns

Macro.t() - The generated component module as quoted code.