Aurora.Uix.Templates.Basic.Generators.IndexGenerator (Aurora UIX v0.1.4-rc.8)

Copy Markdown

Generates index view LiveView modules for the Basic template implementation.

This module provides a macro to generate LiveView modules for index (listing) pages in Aurora UIX Basic templates.

Key Features

  • Generates LiveView modules for index (listing) views
  • Supports stream-based data loading
  • Handles CRUD operations (create, read, update, delete)
  • Dynamically mounts components
  • Provides responsive event handling
  • Integrates with Aurora UIX context and helpers

Summary

Functions

Generates an index view LiveView module with standard CRUD operations in Aurora UIX.

Functions

generate_module(parsed_opts)

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

Generates an index view LiveView module with standard CRUD operations in Aurora UIX.

Parameters

  • parsed_opts (map()) - Index view configuration with tag: :index.

Returns

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