Packages

Automatically clear flash messages after a timeout in Phoenix LiveView applications. Works with both controller-set flash messages and LiveView put_flash calls.

Current section

Files

Jump to

README.md

# Phoenix LiveView Flash Timer
Automatically clear flash messages after a specified timeout in Phoenix LiveView applications.
## Installation
Add `phoenix_liveview_flash_timer` to your list of dependencies in `mix.exs`:
```elixir
def deps do
[
{:phoenix_liveview_flash_timer, "~> 0.1.0"}
]
end