Philtre.UI.Page (philtre v0.9.3)

Shared component used for both creation and editing of an article.

Link to this section Summary

Link to this section Functions

Link to this function

handle_event(binary, map, socket)

@spec handle_event(String.t(), map(), Phoenix.LiveView.Socket.t()) ::
  {:noreply, Phoenix.LiveView.Socket.t()}

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

sidebar(assigns)

Link to this function

update(map, socket)

@spec update(%{optional(:editor) => Philtre.Editor.t()}, Phoenix.LiveView.Socket.t()) ::
  {:ok, Phoenix.LiveView.Socket.t()}

Callback implementation for Phoenix.LiveComponent.update/2.