maca / postgrest-admin-preview / PostgRestAdmin.Notification

Display notifications and errors.

Note that this functions produce a PostgRestAdmin.Cmd and not a vanilla Elm Cmd.

confirm : String -> PostgRestAdmin.Cmd.Cmd msg

Display an confirmation notification.

error : String -> PostgRestAdmin.Cmd.Cmd msg

Display an error.

dismiss : PostgRestAdmin.Cmd.Cmd msg

Dismiss notification.