Enums

The following enums are available in the Toast component:

NameValueDescription
PositionX
'Center' | 'Left' | 'Right'

Specifies the horizontal positioning options for components like Toasts, Popups, and Dialogs.

  • Center - Positions the component horizontally centered within its container or relative to its target element.
  • Left - Positions the component at the left edge of its container or target element.
  • Right - Positions the component at the right edge of its container or target element.
PositionY
'Bottom' | 'Top'

Specifies the vertical positioning options for Toast component.

  • Bottom - Positions the component at the bottom edge of its container or target element.
  • Top - Positions the component at the top edge of its container or target element.