toggle menu
kilua-project
0.0.17
common
switch theme
search in API
kilua-bootstrap
/
dev.kilua.toast
Package-level
declarations
Types
Functions
Types
Toast
Position
Link copied to clipboard
enum
ToastPosition
:
Enum
<
ToastPosition
>
Bootstrap toast positions.
Functions
toast
Link copied to clipboard
fun
toast
(
message
:
String
,
title
:
String
?
=
null
,
position
:
ToastPosition
=
ToastPosition.TopEnd
,
color
:
BsColor
?
=
null
,
bgColor
:
BsBgColor
?
=
null
,
autohide
:
Boolean
=
true
,
delay
:
Duration
=
5.seconds
,
animation
:
Boolean
=
true
,
className
:
String
?
=
null
)
Show a toast.