The class that will be applied to the toast. It may be used as a reference.
title
''
Title of the toast.
message
''
Message of notification.
color
''
It can be #hexadecimal, pre-defined themes like blue, red, green and yellow or set another class. Create and use like this ".iziToast-color-name"
icon
''
Icon class (font-icon of your choice, Icomoon, Fontawesome etc.).
iconText
''
Icon text (font-icon using text, Material Icons, etc.).
iconColor
''
Icon color.
image
''
Cover image.
imageWidth
50
Width of cover image.
layout
1
It can be 1 or 2, or use another layout, creating the class like this: ".iziToast-layout3"
balloon
false
Applies a balloon like toast.
close
true
Show "x" close button
rtl
false
RTL option
position
'bottomRight'
Where it will be shown. It can be bottomRight, bottomLeft, topRight, topLeft, topCenter, bottomCenter or center.
target
''
Fixed place where you want to show the toasts.
timeout
5000
Amount in milliseconds to close the toast or false to disable.
pauseOnHover
true
Pause the toast timeout while the cursor is on it.
resetOnHover
false
Reset the toast timeout while the cursor is on it.
progressbar
true
Enable timeout progress bar.
progressbarColor
''
Progress bar color.
animateInside
true
Enable animations of elements in the toast.
buttons
{}
You can specify an array of buttons.
transitionIn
'fadeInUp'
Default toast open animation. It can be: bounceInLeft, bounceInRight, bounceInUp, bounceInDown, fadeIn, fadeInDown, fadeInUp, fadeInLeft, fadeInRight or flipInX.
transitionOut
'fadeOut'
Default toast close animation. It can be: fadeOut, fadeOutUp, fadeOutDown, fadeOutLeft, fadeOutRight, flipOutX