View Source Surface.Components.Dynamic.LiveComponent (Surface v0.12.0)

A built-in component that allows users to inject dynamic live components into a Surface template.

Properties

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

  • module :module, required: true - The module of the component

Slots

  • default - The default slot

Summary

Functions

Callback implementation for Phoenix.LiveComponent.mount/1.

Callback implementation for Phoenix.LiveComponent.render/1.

Callback implementation for Phoenix.LiveComponent.update/2.