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

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

Link to this section Summary

Functions

Callback implementation for Phoenix.LiveComponent.mount/1.

Callback implementation for Phoenix.LiveComponent.render/1.

Callback implementation for c:Surface.BaseComponent.transform/1.

Link to this section Functions

Callback implementation for Phoenix.LiveComponent.mount/1.

Callback implementation for Phoenix.LiveComponent.render/1.

Callback implementation for c:Surface.BaseComponent.transform/1.