跳转至

toast


add_info

void toast.add_info(string title, ...)

Creates and displays an info toast
Example Usage
toast.add_info("This is an example title", "This is an example info toast")

add_error

void toast.add_error(string title, ...)

Creates and displays an error toast
Example Usage
toast.add_error("This is an example title", "This is an example error toast")

add_warning

void toast.add_warning(string title, ...)

Creates and displays a warning toast
Example Usage
toast.add_warning("This is an example title", "This is an example warning toast")

add_success

void toast.add_success(string title, ...)

Creates and displays a success toast
Example Usage
toast.add_success("This is an example title", "This is an example success toast")