View Source Surface.Components.Dynamic.LiveComponent (surface v0.8.2)

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

properties

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

Slots

  • default - The default slot

Link to this section Summary

Link to this section Functions

Callback implementation for Phoenix.LiveComponent.mount/1.

Callback implementation for Phoenix.LiveComponent.render/1.

Callback implementation for Phoenix.LiveComponent.update/2.