Component API

<roman-numeral>

Open live example

Converts an integer to a roman numeral inline.

Install

import "@f-ewald/components/roman-numeral.js";

Usage

<roman-numeral value="2004"></roman-numeral>

Attributes / properties

PropertyAttributeTypeDefaultDescription
valuevaluenumber | undefined-Integer value to render as a roman numeral.

Events

None.

Slots

None.

CSS custom properties

None.