API Reference Pax v#0.0.1-dev

View Source

Modules

Pax

Provides functionality for mounting Pax.Admin sites in your router.

This module is used to define the admin site for your application.

Pax.Config is a module for defining configuration structs and functions for Pax. It has two main concerns

A field type is a module that implements the Pax.Field.Type behaviour. It is responsible for rendering a Pax.Field and other related behavior

Pax.Interface enables the creation of CRUD interfaces based on Phoenix.LiveView.

Configuration for a Pax Interface.

The Pax Interface Context contains information on how to build the page; Accessed with @pax in templates.

Pax.Interface.Plugin is a behaviour for defining plugins that can be used with Pax.Interface.

Pax.Plugin is a behaviour for defining plugins that can be used with Pax.Interface or Pax.Admin. This is the base behavior that all Plugins must implement. However, most plugins will use Pax.Interface.Plugin or use Pax.Admin.Plugin instead of implementing this behaviour directly.

Renders fieldsets for the detail view of a Pax.Interface. Fieldsets are a way to organize a detail page, by breaking it into sections, and allowing fields to be grouped together on the same horizontal line.

Renders a list of fields for the detail view of a Pax.Interface. The display is of a simple two column list, with the field name on the left and the field value on the right.

Renders a table for the index view of a Pax.Interface.

Utilities for inflecting the plural form of singular nouns. This isn't trying to be perfect, just good enough.

Mix Tasks