Package dev.fritz2.components.toast

Types

Link copied to clipboard
open class AlertToastComponent : ToastComponentBase

This class combines the configuration and the core styling of an alert-toast (toast containing an alert as it's content).

Link copied to clipboard
open class ToastComponent : ToastComponentBase

This class combines the configuration and the core styling of a toast.

Link copied to clipboard
abstract class ToastComponentBase : ManagedComponent<Unit> , CloseButtonProperty

This class is the base for different types of toast-components and contains all necesserary logic except the content-related aspects. This way, different types of toasts with specific DSL variations can be implemented by inheriting from this base class and implementing the rendering logic exposed via the avstract renderContent method.