View Source PhxLocalizedRoutes.LiveHelpers (Phoenix Localized Routes v0.1.2)
Provides helpers for Phoenix LiveView applications
usage
Usage
Instructions how to use this module can be found in the Usage Guide.
Link to this section Summary
Functions
Assigns custom assigns from the config into the socker under the :loc
key. The
configuration module is passed as the first argument.
Link to this section Functions
@spec on_mount( PhxLocalizedRoutes.Config.t(), params :: map(), session :: map(), Phoenix.LiveView.Socket.t() ) :: {:cont, Phoenix.LiveView.Socket.t()}
Assigns custom assigns from the config into the socker under the :loc
key. The
configuration module is passed as the first argument.
The assigns can used as @loc.my_custom_assign
Used in PhxLocalizedRoutes.create_helper_module/2
See also: