Phoenix.LiveView.Component (Phoenix LiveView v1.1.23)

Copy Markdown View Source

The struct returned by components in .heex templates.

This component is never meant to be output directly into the template. It should always be handled by the diffing algorithm.

Summary

Types

t()

@type t() :: %Phoenix.LiveView.Component{
  assigns: map(),
  component: module(),
  id: binary()
}