tape.toasts
A Toast is a non-modal, unobtrusive window element used to display brief, auto-expiring windows of information to a user.
Add toasts listing to a layout view via toasts.v/index
partial:
app/layout/view.cljs
(ns my.app.layout.view
(:require [tape.toasts.view :as toasts.v]))
(defn layout []
[:div
...
[toasts.v/index]])
The style is based on Bulma, but you can use your own style based on it’s classes or make your own partial for listing. To include the style add:
hiccup
[:link {:rel "stylesheet" :href "/tape/toasts.css"}]