RayCraftDocs
v1.0.3 raycraft.dev
On this page

Countdown

Free

Counts down to a moment in time and raises OnFinished when it is reached.

Example

Countdown control

Parameters

ParameterTypeDescription
ClassstringExtra CSS classes added to the root element.
LabelstringVisible label text (charts: accessible name; IconButton: accessible name and tooltip).
ShowDaysboolAlso enters (TimeSpanPicker) or shows (Countdown) days.
StylestringInline style added to the root element.
TargetDateTimeOffsetCountdown: the moment to count down to. Button: browser target of the link, for example _blank.

Events

EventTypeDescription
OnFinishedEventCallbackRaised when the countdown reaches zero.

Package

Countdown is part of RayCraft Free. Package: RayCraft.Blazor. It comes from nuget.org. See Getting started.