Skip to main content
cngx-src documentation

ToastState

Interface

projects/ui/feedback/toast/toast.service.ts

Referenced by#

Import#

import { ToastState } from '@cngx/ui/feedback'

Description#

Internal toast state tracked by the service.

Index#

Instance Properties#

config#unknown
Readonly
count#number
Readonly

Dedup counter - incremented when identical toast fires again.

createdAt#number
Readonly
dismissed$#Subject
Readonly

Subject that emits on dismiss.

Readonly
pausedRemaining#number | undefined
Readonly

Remaining ms when timer was paused (hover/focus). undefined = not paused.

timer#ReturnType | undefined
Readonly

Timer handle for auto-dismiss.

timerStartedAt#number
Readonly

Timestamp when the current timer started (created or last resumed).