Search documentation of pain

# API Reference pain v0.1.0

## Modules

Acuity
Pain

Pain keeps the contexts that define your domain and business logic.

Pain.Order
Pain.Release

Used for executing DB release tasks when run in production without Mix installed.

Pain.Repo
Pain.Schedule
PainWeb

The entrypoint for defining your web interface, such as controllers, components, channels, and so on.

PainWeb.BookLive

## Properties

- id :string, required: true - Both the DOM ID and the ID to uniquely identify a LiveView. An `:id` is automatically generated when rendering root LiveViews but it is a required option when rendering a child LiveView.

PainWeb.Components.Accion

## Properties

- accion :string
- shape :string
- clicked :boolean, default: false
- disabled :boolean, default: false
- classes :css_class, default: {}

## Slots

- default

## Events

- click

PainWeb.Components.BodyMap

## Properties

- number :integer
- chosen :list

## Events

- choose

PainWeb.Components.Card

A sample component generated by `mix surface.init`.

PainWeb.Components.CardExamples

Example using the `rounded` property and slots.

PainWeb.Components.CardPlayground

## Properties

- id :string, required: true - Both the DOM ID and the ID to uniquely identify a LiveView. An `:id` is automatically generated when rendering root LiveViews but it is a required option when rendering a child LiveView.

PainWeb.Components.Choices

## Properties

- number :integer
- choices :map
- name :string
- class :css_class
- enabled :map, default: %{}
- labels :map, default: %{}

## Slots

- default
- summary

## Events

- accion

PainWeb.Components.Class

## Properties

- id :string, required: true - The id of the live component (required by LiveView for stateful components).

PainWeb.Components.Conditions

## Properties

- id :string, required: true - The id of the live component (required by LiveView for stateful components).

PainWeb.Components.Employee

## Properties

- id :string, required: true - The id of the live component (required by LiveView for stateful components).

PainWeb.Components.Page

## Properties

- id :string, required: true - The id of the live component (required by LiveView for stateful components).

## Slots

- default, required: true

PainWeb.Components.Schedule

## Properties

- id :string, required: true - The id of the live component (required by LiveView for stateful components).

PainWeb.Components.Service

## Properties

- id :string, required: true - The id of the live component (required by LiveView for stateful components).

PainWeb.Components.ServiceMap

## Properties

- services :map

PainWeb.CoreComponents

Provides core UI components.

PainWeb.Endpoint
PainWeb.ErrorHTML
PainWeb.ErrorJSON
PainWeb.Gettext

A module providing Internationalization with a gettext-based API.

PainWeb.Layouts
PainWeb.PageController
PainWeb.PageHTML
PainWeb.Router
PainWeb.Telemetry
Parallel
Squish
Next Page → Pain