Class IgcToastComponent

A toast component is used to show a notification

Element

igc-toast

Csspart

base - The base wrapper of the toast.

Hierarchy

  • LitElement
    • IgcToastComponent

Constructors

  • Returns IgcToastComponent

Properties

displayTime: number = 4000

Determines the time after which the toast will close

Attr

display-time

keepOpen: boolean = false

Determines whether the toast is closed automatically or not.

Attr

keep-open

open: boolean = false

Determines whether the toast is opened.

Attr

styles: CSSResult[] = ...
tagName: "igc-toast" = 'igc-toast'

Methods