0.0.11 • Published 6 months ago

@teej/vue-timeline v0.0.11

Weekly downloads
-
License
-
Repository
github
Last release
6 months ago

Vue Timeline

Demo

An infinite scroll timeline component written in Vue.

Just something I'm hacking on in my spare time for a bit of fun, as it's difficult to find a component like this in the wild.

Install/Setup

npm install @teej/vue-timeline

import { Timeline } from "@teej/vue-timeline";
import "@teej/vue-timeline/dist/style.css";

...

<Timeline :resources="projects" :events="tasks" />

Events

  • @event-change
  • @date-change

Props

NameTypeDefaultRequired
resourcesArrayYes
visibleResourcesNumber10No
eventsArray[]No
columnWidthNumber120No
resourceWidthNumber200No
rowHeightNumber50No
headerHeightNumber80No

Resources

  • id String/Number
  • name String

Events

Dates are provided as strings, e.g. in the format y-MM-dd (2023/06/01)

  • id String/Number
  • resourceId String/Number
  • name String
  • startDate String
  • endDate String
0.0.11

6 months ago

0.0.10

8 months ago

0.0.9

9 months ago

0.0.8

9 months ago

0.0.7

9 months ago

0.0.6

9 months ago

0.0.5

10 months ago

0.0.4

10 months ago

0.0.3

10 months ago

0.0.2

10 months ago

0.0.1

10 months ago