somehow-timeline
v0.1.3
Published
<div align="center"> <div><b>somehow-timeline</b></div> <img src="https://user-images.githubusercontent.com/399657/68222691-6597f180-ffb9-11e9-8a32-a7f38aa8bded.png"/> <div>— part of <a href="https://github.com/spencermountain/somehow">somehow</a> —
Downloads
3
Readme
lays-out visual elements using y-axis as time
uses spacetime to parse and handle dates/times.
work-in-progress!
<script>
import { Timeline, Column, Line } from 'somehow-timeline'
</script>
<Timeline start="Jan 1 2020" end="Dec 30 2020" height="500">
<Column width="75">
<Line start="January 1 2020" end="Feb 20 2020" color="pink" width="15px" dotted="{true}" label="Before" />
<Line start="Feb 20 2020" end="November 11 2020" width="15px" dotted="{true}" color="#6699cc" label="Middle" />
<Line start="November 11 2020" end="December 20 2020" width="15px" color="fire" label="After" />
</Column>
</Timeline>
API
- Timeline
- Ticks
- Line
- Column
- Img
- Label
- Duration
- MainLine
- Point
MIT