BFZN4SUAGYNFFYVAP36BAX32DMO622PK4EPEVQQEAGC2IHTEAAPQC
component :: forall query input output. TimelineConfig -> H.Component HH.HTML query input output Aff
component conf = H.mkComponent
type Capability m =
{ logStart :: m Instant
, logEnd :: m Instant
}
component :: forall query input output. Capability Aff -> TimelineConfig -> H.Component HH.HTML query input output Aff
component caps conf = H.mkComponent
let widthRatio = conf.width / ilen limits.start limits.end
ileft = ilen limits.start i.start * widthRatio
iwidth = ilen i.start i.end * widthRatio
let maxWidth = ilen limits.start limits.end
ileft = ilen limits.start i.start
iwidth = ilen i.start i.end
mockCapability :: Capability Aff
mockCapability =
{ logStart: liftEffect now
, logEnd: liftEffect now
}