Tailwind.Phoenix (Phoenix Tailwind Notifications v0.1.5) View Source

Provides Helper functions to redirect away or update if a certain is is found.

Link to this section Summary

Functions

Helper function to redirect if its id matches the given id for the given name.

Helper function to update object if its id matches the given id for the given name.

Link to this section Functions

Link to this function

redirect_if_id(socket, needed_id, arg3, to)

View Source

Helper function to redirect if its id matches the given id for the given name.

Link to this function

update_if_id(socket, name, needed_id, object)

View Source

Helper function to update object if its id matches the given id for the given name.