[{"name":"MessageToast","comment":" MessageToast displays a list of feedback messages, each with a specified\nmessage-type.\n\n\n# Definition\n\n@docs MessageToast\n\n\n# Init\n\n@docs init, initWithConfig\n\n\n# Create\n\n@docs danger, info, success, warning, withHtml, withMessage\n\n\n# View\n\n@docs view\n\n\n# Subscriptions\n\n@docs subscriptions\n\n\n# Query\n\n@docs getOldestToast\n\n\n# Manipulate\n\n@docs overwriteContainerAttributes, overwriteIconAttributes, overwriteMessageAttributes, overwriteToastAttributes, popOldestToast\n\n","unions":[{"name":"MessageToast","comment":" MessageToast holds the collection of messages.\n","args":["msg"],"cases":[["MessageToast",["MessageToast.ToastConfig msg","List.List (MessageToast.ToastMessage msg)"]]]}],"aliases":[],"values":[{"name":"danger","comment":" Generates a dangerous message toast.\n","type":"MessageToast.MessageToast msg -> ( MessageToast.ToastMessage msg, MessageToast.MessageToast msg )"},{"name":"getOldestToast","comment":" Provides the time-wise oldest message toast that is still shown.\n","type":"MessageToast.MessageToast msg -> Maybe.Maybe (MessageToast.ToastMessage msg)"},{"name":"info","comment":" Generates an informative message toast.\n","type":"MessageToast.MessageToast msg -> ( MessageToast.ToastMessage msg, MessageToast.MessageToast msg )"},{"name":"init","comment":" Initializes the messageToast handler with the default settings.\n\n    - Delay: 8 seconds\n    - Showing messages: 4\n    - Styling: default\n\n","type":"(MessageToast.MessageToast msg -> msg) -> MessageToast.MessageToast msg"},{"name":"initWithConfig","comment":" Initializes a custom messageToast handler with the provided options.\n","type":"(MessageToast.MessageToast msg -> msg) -> { delayInMs : Basics.Float, toastsToShow : Basics.Int } -> MessageToast.MessageToast msg"},{"name":"overwriteContainerAttributes","comment":" Overwrite existing styles for the message toast container that contains all the several toasts displayed.\n\nFor example, this can be used to override the position or width of the toasts.\n\n","type":"List.List (Html.Attribute msg) -> MessageToast.MessageToast msg -> MessageToast.MessageToast msg"},{"name":"overwriteIconAttributes","comment":" Overwrite existing styles for the message toast icon that's placed inside the toast container besides the message block.\n\nFor example, this can be used to override colors, spacings or sizes of the icon.\n\n","type":"List.List (Html.Attribute msg) -> MessageToast.MessageToast msg -> MessageToast.MessageToast msg"},{"name":"overwriteMessageAttributes","comment":" Overwrite existing styles for the message toast message block that's placed inside the toast container besides the icon.\n\nFor example, this can be used to override colors, spacings, font attributes or alignments of the toast message.\n\n","type":"List.List (Html.Attribute msg) -> MessageToast.MessageToast msg -> MessageToast.MessageToast msg"},{"name":"overwriteToastAttributes","comment":" Override existing styles for the message toast that wraps the icon and message block.\n\nFor example, can be used to ovveride border stylings, shadows or spacings between the toasts.\n\n","type":"List.List (Html.Attribute msg) -> MessageToast.MessageToast msg -> MessageToast.MessageToast msg"},{"name":"popOldestToast","comment":" Removes the time-wise oldest toast from the existing collection.\n","type":"MessageToast.MessageToast msg -> MessageToast.MessageToast msg"},{"name":"subscriptions","comment":" Subscription to automatically remove the oldest toast that is still displayed.\n","type":"MessageToast.MessageToast msg -> Platform.Sub.Sub msg"},{"name":"success","comment":" Generates a success message toast.\n","type":"MessageToast.MessageToast msg -> ( MessageToast.ToastMessage msg, MessageToast.MessageToast msg )"},{"name":"view","comment":" Displays the configured message toasts.\n","type":"MessageToast.MessageToast msg -> Html.Html msg"},{"name":"warning","comment":" Generates a warning message toast.\n","type":"MessageToast.MessageToast msg -> ( MessageToast.ToastMessage msg, MessageToast.MessageToast msg )"},{"name":"withHtml","comment":" Displays a generated MessageToast content with a given user-defined layout.\n","type":"Html.Html msg -> ( MessageToast.ToastMessage msg, MessageToast.MessageToast msg ) -> MessageToast.MessageToast msg"},{"name":"withMessage","comment":" Displays a generated MessageToast content with a given message in the default layout.\n","type":"String.String -> ( MessageToast.ToastMessage msg, MessageToast.MessageToast msg ) -> MessageToast.MessageToast msg"}],"binops":[]}]