Vue- horizontal-timeline: Straight timeline element for Vue.js #.\n\nVue-horizontal-timeline is actually a basic horizontal timetable component brought in with Vue.js (partner with Vue 2 & Vue 3).\nDemo.\nEngage with a working Demo on https:\/\/codesandbox.io\/s\/o4o10xynoz.\nStorybook.\nVisit https:\/\/vue-horizontal-timeline.netlify.com.\nHow to set up.\nnpm.\n$ npm mount vue-horizontal-timeline-- spare.\nanecdote (advised).\n$ yarn add vue-horizontal-timeline.\nFlying start.\nVue.js.\nYou can easily import in your main.js report.\nbring in Vue coming from \"vue\".\nimport VueHorizontalTimeline coming from \"vue-horizontal-timeline\".\n\nVue.use( VueHorizontalTimeline)'.\n\nOr even regionally in any component.\n\n' import VueHorizontalTimeline from \"vue-horizontal-timeline\".\n\/\/ In v0.8+ you don't need to have the brackets over.\n\nexport default \nparts: \nVueHorizontalTimeline,.\n,.\n.\nNuxt.js.\nYou may import as a Nuxt.js plugin.\n~\/ plugins\/vue-horizontal-timeline. js'.\n\n' import Vue coming from \"vue\".\nimport VueHorizontalTimeline coming from \"vue-horizontal-timeline\".\n\nVue.use( VueHorizontalTimeline).\n\nand afterwards import it in your 'nuxt.config.js' report.\n\nplugins: [~\/ plugins\/vue-horizontal-timeline. js\"].\nSimple usage.\n\n\n\n\n\nProps.\nproducts.\nKind: Array.\nDefault: null.\nSummary: Range of contest be actually presented. Must contend minimum a material building.\nitem-selected.\nStyle: Things.\nNonpayment: {-String.Split- -}\nExplanation: Things that is set when it is actually clicked. Note that clickable set need to be readied to correct.\nitem-unique-key.\nStyle: String.\nNonpayment: \".\nExplanation: Secret to establish a blue border to the memory card when it is clicked (clickable.\nuphold need to be readied to accurate).\ntitle-attr.\nStyle: String.\nDefault: 'title'.\nExplanation: Call of the building inside the things, that reside in the items selection, to place the cards label.\ntitle-centered.\nStyle: Boolean.\nNonpayment: inaccurate.\nClassification: Centralizes the cards label.\ntitle-class.\nStyle: Cord.\nDefault: \".\nDescription: If you wish to prepare a custom course to the memory cards headline, specified it right here.\ntitle-substr.\nType: String.\nNonpayment: 18.\nDescription: Lot of personalities to show inside the memory cards title. Over this, will definitely put a '...' mask.\ncontent-attr.\nStyle: Cord.\nNonpayment: 'content'.\nSummary: Call of the building inside the objects, that reside in the products range, to put the memory cards material.\ncontent-centered.\nType: Boolean.\nDefault: false.\nClassification: Streamlines all the memory cards content text message.\ncontent-class.\nKind: Cord.\nDefault: \".\nClassification: If you desire to prepare a customized course to the memory cards information, prepared it listed below.\ncontent-substr.\nType: Strand.\nDefault: 250.\nClassification: Number of personalities to present inside the memory cards information. Above this, will establish a '...' cover-up.\nmin-width.\nStyle: String.\nDefault: '200px'.\nClassification: Min-width of the timetable.\nmin-height.\nStyle: Cord.\nNonpayment: \".\nClassification: Min-height of the timeline.\ntimeline-padding.\nStyle: Strand.\nDefault: \".\nClassification: Padding of the timetable.\ntimeline-background.\nType: Strand.\nDefault: '#E 9E9E9'.\nClassification: Background color of the whole timeline.\nline-color.\nType: String.\nNonpayment: '
03A9F4'.Classification: Shade of free throw line inside the timeline.clickable.Style: Boolean.Nonpayment: accurate.Description: Helps make the memory card clickable that returns the item.You can easily likewise modify the step color and also the type of each product utilizing the stepCssClass as well as boxCssClass attributes inside each product:.const example1 = headline: "Label example 1",.content:." Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut ex-spouse dolor, malesuada luctus scelerisque hvac, auctor vitae risus. Vivamus risus dolor, faucibus a bibendum quis, facilisis eget odio.",.stepCssClass: 'has-step-green',.boxCssClass: 'has-color-red'..Development.Keep in mind: Additions are actually really welcomed, however is quite important to open a brand-new problem using the problem design template just before you start working with just about anything, so our company may review it just before hand.Fork the task as well as enter this commands in your terminal.$ git clone https://github.com/YOUR_GITHUB_USERNAME/vue-horizontal-timeline.git.$ cd vue-horizontal-timeline.$ yarn.Storybook.For aesthetic testing, this job consists of storybook which you can function by performing the upcoming demand.$ anecdote storybook.Jest.Just before making the public relations, if you transformed something that needs to become tested, please create the examinations inside the tests/unit directory.To manage the exams, you may make use of the following demand.$ yarn exam: device.CSS.All the CSS is at src/assets/css/ style.scss.If you create any sort of improvements because report, you will certainly require to operate yarn create to create it, since the part makes use of the minified variation at src/assets/css/ style.min.css.Commitlint.This project observes the commitlint standards, with slight adjustments.You may dedicate making use of npm operate devote to aid you keeping that.There is actually a pre-push hook that rushes all the unit checks before you can easily press it.If an inaccuracy happens, you may make use of the npm run commit: retry order that runs the previous npm run commit that you already packed.