Module

Materialize.Toasts

Package
purescript-materialize
Repository
yehzhang/purescript-materialize

See https://materializecss.com/toasts.html.

#ToastOptions Source

type ToastOptions = (activationPercent :: Number, classes :: Class, displayLength :: Number, html :: String, inDuration :: Number, outDuration :: Number)

#toast Source

toast :: forall r. Subrow r ToastOptions => Record r -> Aff Unit

Sends a toast.

#toastS Source

toastS :: String -> Aff Unit

Sends a toast with content being text.

#toastM Source

toastM :: forall e. Markup e -> Aff Unit

Sends a toast with content being a markup node.

#rounded Source

rounded :: forall r. Variadic Class r => r

#dismissAllToasts Source