View Source PhoenixNotif (phoenix_notif v0.1.0)
A drop-in replacement for notification system in Phoenix.
Summary
Functions
Renders a notification group for DeadView and LiveView.
Functions
Renders a notification group for DeadView and LiveView.
- For DeadView, it only renders flashes.
- For LiveView, it renders flashes and toasts.
Attributes
id(:string) - the DOM id of notification group. Defaults to"notification-group".position(:atom) - the location for showing notifications. Defaults to:bottom_right.flash(:map) (required) - the map of flash messages.connected(:boolean) - Defaults tofalse.