Namespaces
toast
Methods
add_info
Creates and displays an info toast
function toast.add_info(title: string, ...): void
-- example usage
toast.add_info("This is an example title", "This is an example info toast")
add_error
Creates and displays an error toast
function toast.add_error(title: string, ...): void
-- example usage
toast.add_error("This is an example title", "This is an example error toast")
add_warning
Creates and displays a warning toast
function toast.add_warning(title: string, ...): void
-- example usage
toast.add_warning("This is an example title", "This is an example warning toast")
add_success
Creates and displays a success toast
function toast.add_success(title: string, ...): void
-- example usage
toast.add_success("This is an example title", "This is an example success toast")