showToast

open fun showToast(message: String, title: String? = null, color: BsColor? = null, bgColor: BsBgColor? = null, autohide: Boolean = true, delay: Int = 5000, animation: Boolean = true, className: String? = null)

Show Bootstrap toast with a given message and options.

Parameters

message

Bootstrap toast message

title

Bootstrap toast title

color

Bootstrap toast text color

bgColor

Bootstrap toast background color

autohide

Bootstrap toast autohide flag

delay

Bootstrap toast delay in milliseconds

animation

Bootstrap toast animation flag

className

CSS class names