Philtre.Editor.Block (philtre v0.9.3)

Holds logic specific to the p block

Link to this section Summary

Link to this section Types

@type id() :: String.t()
@type t() :: %Philtre.Editor.Block{
  cells: [Philtre.Editor.Block.Cell.t()],
  id: id(),
  selection: Philtre.Editor.Block.Selection.t(),
  type: String.t()
}

Link to this section Functions

Link to this function

handle_event(arg1, attrs, socket)

Callback implementation for Phoenix.LiveComponent.handle_event/3.

Link to this function

render(assigns)

Callback implementation for Phoenix.LiveComponent.render/1.

Link to this function

update(assigns, socket)

Callback implementation for Phoenix.LiveComponent.update/2.