Close Method Companion
open class CloseMethodCompanion
Content copied to clipboard
This class defines helpful methods to either close all currently open (closeAllToasts) or the last created toast (closeLastToast) which can be called via the companion objects of both ToastComponent and AlertToastComponent.
Example:
clickButton {
variant { outline }
text("closeAll")
} handledBy ToastComponent.closeAllToasts()Constructors
CloseMethodCompanion
Link copied to clipboard
fun CloseMethodCompanion()
Content copied to clipboard
Functions
Inheritors
ToastComponentBase
Link copied to clipboard
ToastComponent
Link copied to clipboard
AlertToastComponent
Link copied to clipboard