View Source LiveNavigator.History (live_navigator v0.1.8)
User navigation history
Link to this section Summary
Types
Specifies the page view. :view
field stores the Phoenix.LiveView
module
of the page, :action
contains the live view action which is usualy stored
in :live_action
assign, :url
is the full URL of page and the :name
is
the page alias that can be specified in navigation-related functions (such
as push_patch/2
or push_navigate/2
) with an :as
option.
Link to this section Types
@type action() :: atom()
@type id() :: pos_integer()
@type name() :: atom()
@type spec() :: %LiveNavigator.History{ action: action(), id: id(), name: name() | nil, url: url(), view: view() }
Specifies the page view. :view
field stores the Phoenix.LiveView
module
of the page, :action
contains the live view action which is usualy stored
in :live_action
assign, :url
is the full URL of page and the :name
is
the page alias that can be specified in navigation-related functions (such
as push_patch/2
or push_navigate/2
) with an :as
option.
@type url() :: binary()
@type view() :: module()