@manta-eu/react/routes/activity/detail/timeline
Reference for @manta-eu/react/routes/activity/detail/timeline as it is on main.
Type Aliases
TimelineBar
TimelineBar =
object
Properties
atLabel
atLabel:
string
endLabel
endLabel:
string
id
id:
string
kind
kind:
string
label
label:
string
lane
lane:
number
leftPct
leftPct:
number
widthPct
widthPct:
number
TimelineItem
TimelineItem =
object
Properties
endMs
endMs:
number|null
id
id:
string
kind
kind:
string
label
label:
string
startMs
startMs:
number|null
TimelineLayout
TimelineLayout =
object
Properties
bars
bars:
TimelineBar[]
laneCount
laneCount:
number
spanMs
spanMs:
number
ticks
ticks:
TimelineTick[]
TimelineTick
TimelineTick =
object
Properties
label
label:
string
leftPct
leftPct:
number
Functions
computeTimelineLayout()
computeTimelineLayout(
items,runStartMs,runEndMs,minBarWidthPct):TimelineLayout
Parameters
items
runStartMs
number
runEndMs
number | null
minBarWidthPct
number
Returns
formatOffset()
formatOffset(
ms):string
Parameters
ms
number
Returns
string