1.2.7 • Published 4 years ago

minified-vue-timeline v1.2.7

Weekly downloads
26
License
-
Repository
-
Last release
4 years ago

Minified Vue Timeline

Minified Vue Timeline is a minimalistic timeline component for vue-js.

View

alt text

Installation

The usual ways:

npm i minified-vue-timeline

Usage

import minifiedVueTimeline from "minified-vue-timeline";

<script>
components: {
  minifiedVueTimeline
},
</script>

Examples

<template>
  <main>
    <minifiedVueTimeline :Timeline="Timeline" />
  </main>
</template>

<script>
import minifiedVueTimeline from "minified-vue-timeline";
export default {
  components: {
    minifiedVueTimeline
  },
  data() {
    return {
      Timeline: [
        {
          date: "29/10/1994",
          iconDotsColor: "#EE153B",
          history: [
            {
              name: "Application",
              summary: "Your Product Design application status was updated",
              time: "10:00am"
            },
            {
              name: "Job",
              summary: "Job Alert Created",
              time: "7:00am"
            },
            {
              name: "Inbox",
              summary: "New Message from Munrina Holmes",
              time: "5:00am"
            }
          ]
        },
        {
          date: "28/10/1994",
          iconDotsColor: "#7ED321",
          history: [
            {
              name: "Reminders",
              summary: "Interview with Mark starting in 2hrs",
              time: "5:50pm"
            },
            {
              name: "Inbox",
              summary: "New Message from Munrina Holmes",
              time: "3:20pm"
            }
          ]
        },
        {
          date: "27/10/1994",
          iconDotsColor: "#F5A623",
          history: [
            {
              name: "Reminders",
              summary: "Interview with Mark starting in 2hrs",
              time: "7:50pm"
            }
          ]
        }
      ]
    };
  }
};
</script>

Data

OptionTypesRequiredDescription.
TimelineArrayYes
DateStringYesTimeLine dates
iconDotsColorStringoptionalTimeline dot colors
HistoryArrayYesTimeline Information

Props

OptionTypeRequiredDescription
TimelineColorStringoptionalLine color

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

1.2.7

4 years ago

1.2.6

4 years ago

1.2.5

4 years ago

1.2.4

4 years ago

1.2.3

4 years ago

0.1.0

4 years ago