Opal::UI::ToastManager
Manages a collection of toast notifications and renders them over a target buffer.
Instance methods
add(title : String, message : String = "", level : Symbol = :info, duration_ms : Int64 = 4000_i64) : Toast
Sourceany?
Sourcerender_overlay(buffer : Buffer, position : Symbol = :top_right, now : Time::Instant = Time.instant) : Nil
Renders all active toasts stacked in the top-right corner of the buffer
size
Sourcetoasts
Source