Search documentation of pain

# PainWeb.Components.Page (pain v0.1.0)

Copy Markdown

## Properties

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

## Slots

- default, required: true

## Summary

### Functions

handle_event(binary, params, socket)

Callback implementation for `Phoenix.LiveComponent.handle_event/3`.

mount(socket)

Callback implementation for `Phoenix.LiveComponent.mount/1`.

render(assigns)

Callback implementation for `Phoenix.LiveComponent.render/1`.

update(assigns, socket)

Callback implementation for `Phoenix.LiveComponent.update/2`.

## Functions

# handle_event(binary, params, socket)

Callback implementation for `Phoenix.LiveComponent.handle_event/3`.

# mount(socket)

Callback implementation for `Phoenix.LiveComponent.mount/1`.

# render(assigns)

Callback implementation for `Phoenix.LiveComponent.render/1`.

# update(assigns, socket)

Callback implementation for `Phoenix.LiveComponent.update/2`.