Phoenix.LiveView.clear_flash

You're seeing just the function clear_flash, go back to Phoenix.LiveView module for more information.

Clears the flash.

Examples

iex> clear_flash(socket)
Link to this function

clear_flash(socket, key)

View Source

Clears a key from the flash.

Examples

iex> clear_flash(socket, :info)