SelectoComponents.Session.Store (selecto_components v0.4.8)

Assign/update helpers for the session compatibility bridge.

This keeps the current view_config-based runtime working while introducing SelectoComponents.Session as the internal source of editable state.

Link to this section Summary

Link to this section Functions

Link to this function

assign_active_tab(socket, tab)

@spec assign_active_tab(Phoenix.LiveView.Socket.t(), String.t()) ::
  Phoenix.LiveView.Socket.t()
Link to this function

assign_view_config(socket, view_config)

@spec assign_view_config(Phoenix.LiveView.Socket.t(), map()) ::
  Phoenix.LiveView.Socket.t()
Link to this function

initial_assigns(session)

@spec initial_assigns(SelectoComponents.Session.t()) :: keyword()
Link to this function

mark_form_state_applied(socket)

@spec mark_form_state_applied(Phoenix.LiveView.Socket.t()) ::
  Phoenix.LiveView.Socket.t()