Interface UIDefaultTimelineValue

UIDefaultTimelineValue defines the current value of the UIDefaultTimeline.

interface UIDefaultTimelineValue {
    dates: string[];
}

Properties

Properties

dates: string[]

dates defines a tuple of dates of size 2 to be used as value in the timeline.

Example

const singlePoint: lxr.UIDefaultTimelineDate[] = ["2020-01-01"]; // select a single point.
const multiplePoints: lxr.UIDefaultTimelineDate[] = ["2020-01-01", "2020-03-01"] // select the time span between two dates.

Generated using TypeDoc