Base Configuration class used when opening a Toast.

Type Parameters

Hierarchy

Constructors

constructor

  • new BaseToastConfig<T>(): BaseToastConfig<T>
  • Type Parameters

    • T = any

    Returns BaseToastConfig<T>

Properties

Optional animated

animated?: boolean = true

Whether the toast should be animated.

Optional ariaLabel

ariaLabel?: string

Aria-label for the message toast component element.

Optional data

data?: T

Data being injected into the child component.

Optional height

height?: string | number

Toast height.

Optional id

id?: string

Toast ID.

Optional maxHeight

maxHeight?: string | number

Toast maximum height.

Optional maxWidth

maxWidth?: string | number

Toast maximum width.

Optional minHeight

minHeight?: string | number

Toast minimum height.

Optional minWidth

minWidth?: string | number

Toast minimum width.

Optional positionStrategy

positionStrategy?: BaseToastPosition = ToastBottomCenterPosition

Toast position strategy.

Optional width

width?: string | number

Toast width.