View Source LiveNavigator.Component (live_navigator v0.1.7)

LiveNavigator functionality for Phoenix.LiveComponent

Link to this section Summary

Link to this section Types

Link to this section Functions

Link to this function

assign_nav(socket, assigns)

View Source
Link to this function

assign_nav(socket, key, value)

View Source
Link to this function

assign_page(socket, assigns)

View Source
Link to this function

assign_page(socket, key, value)

View Source

Assigns value to page session

WARNING! assign_page/3 does nothing with local live component assigns. It just updates page session.

Link to this function

clear_page(socket, keys)

View Source
@spec clear_page(Phoenix.LiveView.Socket.t(), atom() | [atom()]) ::
  Phoenix.LiveView.Socket.t()
@spec current_url(Phoenix.LiveView.Socket.t()) :: binary() | nil
Link to this function

push_navigate(socket, opts)

View Source
Link to this function

push_patch(socket, opts)

View Source
Link to this function

push_redirect(socket, opts)

View Source
This function is deprecated. Use push_navigate/2 instead.
Link to this function

put_history(socket, spec)

View Source
Link to this function

put_history(socket, url, view)

View Source
Link to this function

put_history(socket, url, view, action)

View Source
Link to this function

put_history(socket, url, view, action, opts)

View Source