Opal::UI::Toast
Represents a single floating notification message.
Constructors
new(title : String, message : String = "", level : Symbol = :info, duration_ms : Int64 = 4000_i64, id : String = Random::Secure.hex(4), created_at : Time::Instant = Time.instant)
SourceInstance methods
created_at
Sourceduration_ms
Sourceid
Sourcelevel
Sourcelevel_badge
Sourcemessage
Sourcetitle
Source