PainWeb.Components.Employee (pain v0.1.0)

Properties

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

  • employee :any, required: true

  • choices :map, default: %{}

  • number :integer, default: 1

  • display_bios :boolean, default: true

  • bookable :map, default: %{}

Events

  • employ, required: true

Summary

Functions

Callback implementation for Phoenix.LiveComponent.mount/1.

Link to this function

render(assigns)

Callback implementation for Phoenix.LiveComponent.render/1.

Link to this function

update(assigns, socket)

Callback implementation for Phoenix.LiveComponent.update/2.