Usage
Signature:
interface TimelineSeriesElement
Typescript Import Format
//To typecheck the element APIs, import as below.
import { TimelineSeriesElement } from "ojs/ojtimeline";
//For the transpiled javascript to load the element's module, import as below
import "ojs/ojtimeline";
For additional information visit:
Attributes
-
empty-text :string
-
The text of an empty timeline series.
-
item-layout :"auto"|"bottomToTop"|"topToBottom"
-
The direction in which items are laid out when in a horizontal orientation. This attribute is ignored when in a vertical orientation.
- Default Value:
"auto"
Supported Values:
Value auto
bottomToTop
topToBottom
-
label :string
-
The label displayed on the timeline series. In not specified, no label will be shown.
- Default Value:
""
-
(nullable) svg-style :Partial<CSSStyleDeclaration>
-
The CSS style object defining any additional styling of the series. If not specified, no additional styling will be applied. Only SVG CSS style properties are supported.
- Default Value:
{}