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

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.