Releases: knaw-huc/timeline
Releases · knaw-huc/timeline
v3.1.0
Features
- Add vertical scroll
- Highlight special rulers (depending on granularity, but: years devisable by 10/100/1000/etc)
- Make different zoom level per events band possible
- Instead of overwriting the config, let the user adjust the config
- The center of the timeline is now also visibly the center, this helps the user considerably to keep his/her orientation when zooming (the center used to be a ratio where 0 was the outer left of the screen and 1 the outer right)
Perf
- Define the center of the timeline in ms instead of ratio (easier calcs)
- Filter events outside the viewport before drawing (these were not drawn, but were looped over)
- Major perf improv with only redrawing the parts of the minimap(s) that have changed
Fix
- Restore the dispatch of the change done event when animating
- Adjust the bands to a resize
v3.0.1
features
- add zoom
- animate to position on timeline
- render point in time labels
- max zoom level of minimap is the zoom level of the events band
- add select event to API
- add center line
perf
- use to render rulers, indicators, minimaps and events, instead of DOM elements
- use requestAnimationFrame
- remove unnecessary segments
fix
- resize the bands when browser resizes