Skip to content

CountdownView

Defined in: useCountdown.ts:4

What useCountdown returns. All false/0 when expiresAt is null.

PropertyTypeDescriptionDefined in
isActivebooleanThe target is set and still in the future.useCountdown.ts:8
isExpiredbooleanThe target is set and has passed.useCountdown.ts:10
remainingMsnumberMilliseconds left, never negative.useCountdown.ts:6