Skip to content

DateTimeDisplay

Source: client/lib/theme/vueda-tailwind/display/index.js

Inline time wrapper with baseline spacing for absolute and relative text.

Vue component: DateTimeDisplay

SlotDefault classesDescription
rootflex items-center space-x-2Inline time wrapper with baseline spacing for absolute and relative text.
inlinewhitespace-nowrapSingle-line layout for compact absolute plus relative date text.
breakStacked layout map for absolute and relative lines when inline space is not available.
absolutewhitespace-nowrapAbsolute timestamp segment; use for the precise value.
relativewhitespace-nowrapRelative timestamp segment; use for the human-readable offset.
tooltipcursor-helpHelp cursor for timestamp text that exposes the companion value in a tooltip.
dashEmpty-value dash slot, intentionally unstyled so surrounding text rhythm wins.

root

Inline time wrapper with baseline spacing for absolute and relative text.

Default classes:

flex items-center space-x-2

Source: client/lib/theme/vueda-tailwind/display/DateTimeDisplay.theme.js:16

inline

Single-line layout for compact absolute plus relative date text.

Default classes:

whitespace-nowrap

Source: client/lib/theme/vueda-tailwind/display/DateTimeDisplay.theme.js:20

break

Stacked layout map for absolute and relative lines when inline space is not available.

Source: client/lib/theme/vueda-tailwind/display/DateTimeDisplay.theme.js:24

absolute

Absolute timestamp segment; use for the precise value.

Default classes:

whitespace-nowrap

Source: client/lib/theme/vueda-tailwind/display/DateTimeDisplay.theme.js:29

relative

Relative timestamp segment; use for the human-readable offset.

Default classes:

whitespace-nowrap

Source: client/lib/theme/vueda-tailwind/display/DateTimeDisplay.theme.js:33

tooltip

Help cursor for timestamp text that exposes the companion value in a tooltip.

Default classes:

cursor-help

Source: client/lib/theme/vueda-tailwind/display/DateTimeDisplay.theme.js:37

dash

Empty-value dash slot, intentionally unstyled so surrounding text rhythm wins.

Default classes:

Source: client/lib/theme/vueda-tailwind/display/DateTimeDisplay.theme.js:41

Documents matching: server v3.0.0a1.post1client v3.0.0-alpha.2